]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/setup-gitfile-diag-fix' into jch
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:09 +0000 (13:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:09 +0000 (13:21 -0700)
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(): simplify NOT_A_REPO error message

1  2 
setup.c
setup.h
submodule.c
t/t7450-bad-git-dotfiles.sh

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