Re: Super long branch names corrupt `.git/config`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 4, 2012, 19:28 UTC
- Message-ID
- <7v391uyr2w.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAAmo=1BU5N8nbonEb1aZEx=-e8VexwsE74pjm_56dXmCDK+K6g@mail.gmail.com>
Ben Olive <sionide21@gmail.com> writes:
> My `.git/config` can be corrupted if I try to get a local branch with > an extremely long name to track a remote branch. > > Here is a (contrived) example to reproduce the issue:
Don't do that, then ;-)
I think we have a change that is already cooking.
Ben (Walton), want to add a test for your 0971e99 (Remove the hard coded length limit on variable names in config files, 2012-09-30) before it hits 'next', perhaps?