From: Michał Kiedrowicz Date: Wed, 06 May 2009 20:43:27 GMT Subject: Re: [BUG] git config: cygwin git version 1.6.1.2 does not deletes empty sections Message-ID: <20090506224327.23c69a06@gmail.com> In-Reply-To: <40aa078e0905061108o21830f07xfb9d5c185c93fda6@mail.gmail.com> Erik Faye-Lund wrote: > On Wed, May 6, 2009 at 6:04 PM, Constantine Plotnikov > wrote: > > The bug is also confirmed on MSYS git version 1.6.2.2.1669.g7eaf8. > > The same issue is present in git 1.6.2.1 on Linux. Not that I'm too > sure it's really a bug, though ;) > Happens also in master (v1.6.3-rc4-29-g8146f19). IMO this is because git_parse_file() reports only *variables*, not *sections* and store_aux() doesn't find empty section. -- Michał Kiedrowicz