]> Kevux Git Server - rit/commit
Merge branch 'ty/setup-error-tightening'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Mar 2026 17:48:14 +0000 (10:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Mar 2026 17:48:14 +0000 (10:48 -0700)
commitc563b12ce7aa6bf8130385c80c001b2340026ff5
tree23d546954cdc15b74f625a5243c26ee3616eb76d
parentd4b2a7908de36697d56e79eecc50d1d92a091041
parent1dd27bfbfdc0f3b2071ecb8b505476f4caa56a13
Merge branch 'ty/setup-error-tightening'

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.

* ty/setup-error-tightening:
  setup: improve error diagnosis for invalid .git files
setup.c
setup.h
submodule.c
t/meson.build
worktree.c