]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/fsck-wo-the-repository'
authorJunio C Hamano <gitster@pobox.com>
Tue, 7 Apr 2026 21:59:26 +0000 (14:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Apr 2026 21:59:26 +0000 (14:59 -0700)
Internals of "git fsck" have been refactored to not depend on the
global `the_repository` variable.

* ps/fsck-wo-the-repository:
  builtin/fsck: stop using `the_repository` in error reporting
  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: drop USE_THE_REPOSITORY
  fsck: store repository in fsck options
  fsck: initialize fsck options via a function
  fetch-pack: move fsck options into function scope

1  2 
fetch-pack.c
object-file.c

diff --cc fetch-pack.c
Simple merge
diff --cc object-file.c
Simple merge