Merge branch 'ps/abbrev-length-before-setup-fix'
commit4401639f9656fc0a57248e0059ae07aa3a24596a
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2024 22:45:13 +0000 (20 15:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2024 22:45:13 +0000 (20 15:45 -0700)
tree2f7d9e680868bd4542d5d9ae6f6db9b8ea4854c2
parent9071453ef69ca992e257db8cef4daac6a2d70e1c
parent037df60013bb3f1534d4db6bf850d7547f1c1d13
Merge branch 'ps/abbrev-length-before-setup-fix'

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
config.c