]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/abbrev-length-before-setup-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2024 22:45:13 +0000 (15:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2024 22:45:13 +0000 (15:45 -0700)
Setting core.abbrev too early before the repository set-up
(typically in "git clone") caused segfault, which as been
corrected.

* ps/abbrev-length-before-setup-fix:
  object-name: don't try to abbreviate to lengths greater than hexsz
  parse-options-cb: stop clamping "--abbrev=" to hash length
  config: fix segfault when parsing "core.abbrev" without repo

1  2 
config.c

diff --cc config.c
Simple merge