]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit7b6d0cd51b30e842ffb95d045385100b7c677886
treea12833ed2f687f197324fdc07ffa3112a2be7ae2
parent59063fe8b415f150eecd38c63b0171a0e8449364
parent6fea405bb92100a229c0ee83c98e062e271577cd
Merge branch 'ps/fsck-wo-the-repository'

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
fetch-pack.c
object-file.c