git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] git config: cygwin git version 1.6.1.2 does not deletes empty sections

From
Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Date
May 6, 2009, 20:43 UTC
Message-ID
<20090506224327.23c69a06@gmail.com>
In-Reply-To
<40aa078e0905061108o21830f07xfb9d5c185c93fda6@mail.gmail.com>
Erik Faye-Lund <kusmabite@googlemail.com> wrote:
Show 7 quoted lines
> On Wed, May 6, 2009 at 6:04 PM, Constantine Plotnikov
> <constantine.plotnikov@gmail.com> 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

Previous: Erik Faye-Lund
Message 4 of 4 in “[BUG] git config: cygwin git version 1.6.1.2 does not deletes empty sections”
  1. Constantine PlotnikovMay 6, 2009
  2. Constantine PlotnikovMay 6, 2009
  3. Erik Faye-LundMay 6, 2009
  4. Michał KiedrowiczMay 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.