Commit 392b2ac
committed
Refactored the updates of in-flight files/dirs
Updated to account for changes as a result of commits/compacts. And
changed instances of iteration over both files and dirs to use a single
nested loop.
This does rely implicitly on the structure layout of dirs/files and
their location in lfs_t, which isn't great. But it gets the job done
with less code duplication.1 parent d9a24d0 commit 392b2ac
2 files changed
+16
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
867 | | - | |
868 | 866 | | |
869 | 867 | | |
870 | 868 | | |
| |||
923 | 921 | | |
924 | 922 | | |
925 | 923 | | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
926 | 936 | | |
927 | 937 | | |
928 | 938 | | |
| |||
1052 | 1062 | | |
1053 | 1063 | | |
1054 | 1064 | | |
1055 | | - | |
1056 | 1065 | | |
1057 | 1066 | | |
1058 | 1067 | | |
1059 | 1068 | | |
1060 | | - | |
1061 | 1069 | | |
1062 | 1070 | | |
1063 | 1071 | | |
1064 | 1072 | | |
1065 | 1073 | | |
1066 | | - | |
1067 | | - | |
| 1074 | + | |
| 1075 | + | |
1068 | 1076 | | |
1069 | 1077 | | |
1070 | 1078 | | |
| |||
3186 | 3194 | | |
3187 | 3195 | | |
3188 | 3196 | | |
3189 | | - | |
3190 | | - | |
3191 | 3197 | | |
3192 | 3198 | | |
3193 | 3199 | | |
| |||
3212 | 3218 | | |
3213 | 3219 | | |
3214 | 3220 | | |
3215 | | - | |
3216 | | - | |
3217 | | - | |
3218 | | - | |
3219 | | - | |
3220 | | - | |
3221 | | - | |
3222 | | - | |
3223 | | - | |
3224 | | - | |
3225 | | - | |
3226 | 3221 | | |
3227 | 3222 | | |
3228 | 3223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | 298 | | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | | - | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments