Commit 081ee4a
committed
Merge branch 'ps/fsck-wo-the-repository' into jch
Internals of "git fsck" have been refactored to not depend on the
global `the_repository` variable.
Comments?
* ps/fsck-wo-the-repository:
builtin/fsck: stop using `the_repository` in error reporting
fsck: provide repository in `struct fsck_report_object`
builtin/fsck: stop using `the_repository` when marking objects
builtin/fsck: stop using `the_repository` when checking packed objects
builtin/fsck: stop using `the_repository` with loose objects
builtin/fsck: stop using `the_repository` when checking reflogs
builtin/fsck: stop using `the_repository` when checking refs
builtin/fsck: stop using `the_repository` when snapshotting refs
builtin/fsck: fix trivial dependence on `the_repository`
fsck: stop relying on global state via `parse_oid_hex()`
fsck: drop `the_repository` in `fsck_set_msg_types()`
fsck: refactor interface to parse fsck options
fsck: drop `the_repository` in `fsck_finish()`
fsck: drop `the_repository` in `fsck_walk()`11 files changed
Lines changed: 520 additions & 363 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
| 936 | + | |
| 937 | + | |
937 | 938 | | |
938 | 939 | | |
939 | 940 | | |
| |||
952 | 953 | | |
953 | 954 | | |
954 | 955 | | |
955 | | - | |
| 956 | + | |
956 | 957 | | |
957 | | - | |
| 958 | + | |
958 | 959 | | |
959 | 960 | | |
960 | 961 | | |
| |||
1932 | 1933 | | |
1933 | 1934 | | |
1934 | 1935 | | |
1935 | | - | |
| 1936 | + | |
| 1937 | + | |
1936 | 1938 | | |
1937 | 1939 | | |
1938 | 1940 | | |
1939 | 1941 | | |
1940 | 1942 | | |
1941 | | - | |
| 1943 | + | |
| 1944 | + | |
1942 | 1945 | | |
1943 | 1946 | | |
1944 | 1947 | | |
| |||
2123 | 2126 | | |
2124 | 2127 | | |
2125 | 2128 | | |
2126 | | - | |
| 2129 | + | |
2127 | 2130 | | |
2128 | 2131 | | |
2129 | 2132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
| 652 | + | |
| 653 | + | |
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
| |||
676 | 677 | | |
677 | 678 | | |
678 | 679 | | |
679 | | - | |
| 680 | + | |
680 | 681 | | |
681 | 682 | | |
682 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1231 | 1231 | | |
1232 | 1232 | | |
1233 | 1233 | | |
1234 | | - | |
| 1234 | + | |
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
| |||
1876 | 1876 | | |
1877 | 1877 | | |
1878 | 1878 | | |
1879 | | - | |
| 1879 | + | |
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
| |||
0 commit comments