Re: git config --unset does not remove section
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 21, 2012, 07:09 UTC
- Message-ID
- <7v3918gv33.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAB9Jk9C_b_PScm3vEdvxsjqNHpTbz7OTTdFeFey7Sdb+M5gYFw@mail.gmail.com>
Angelo Borsotti <angelo.borsotti@gmail.com> writes:
Show 7 quoted lines
> Another git config foo.bar true changes the config file into: > > [foo] > [foo] > bar = true > > Having two sections with the same name clutters the config file.
True. It would be nice if the removal of the last element removes the section header as well.