]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/setup-gitfile-diag-fix' into seen
authorJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2026 00:04:51 +0000 (09:04 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2026 00:04:51 +0000 (09:04 +0900)
A regression in the error diagnosis code for invalid .git files has
been fixed, avoiding a potential NULL-pointer crash when reporting
that a .git file does not point to a valid repository.

* jk/setup-gitfile-diag-fix:
  read_gitfile_gently(): return non-repo path on error

1  2 
setup.c
setup.h

diff --cc setup.c
Simple merge
diff --cc setup.h
Simple merge