Re: SEGV (detected by Address Sanitizer) when using `core.abbrev` option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 10, 2024, 23:21 UTC
- Message-ID
- <xmqq1q54z8nv.fsf@gitster.g>
- In-Reply-To
- <CAO_smVjL+Ms1e_Rd5e1k-zMJb_NydBtX76Dh=ifK9Ym9ME9roQ@mail.gmail.com>
Kyle Lippincott <spectral@google.com> writes:
Show 5 quoted lines
> I just realized I didn't give a reproduction command, sorry about > that; here's the reproduction command provided by our user: > > git config --global core.abbrev 12 > git clone https://github.com/git/git.git
Or "git -c core.abbrev=12 clone https://any/thing".
Nicely spotted. And this is a curious one, as you would generally expect that having a fallback setting in the global space would help you instead of hurting you.