Files
git/worktree.c
Junio C Hamano ae879d5c58 Merge branch 'ty/setup-error-tightening' into jch
While discovering a ".git" directory, the code treats any stat()
failure as a sign that a filesystem entity .git does not exist
there, and ignores ".git" that is not a "gitdir" file or a
directory.  The code has been tightened to notice and report
filesystem corruption better.

Kicked out of the tree for now, due to CI breakage.
cf. <xmqqpl5rumy0.fsf@gitster.g>

* ty/setup-error-tightening:
  setup: improve error diagnosis for invalid .git files
2026-03-04 10:53:26 -08:00

30 KiB