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

Re: git_config_set(?) adding and removing creates extraneous lines

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 12, 2015, 05:49 UTC
Message-ID
<vpqwpz9jx1s.fsf@anie.imag.fr>
In-Reply-To
<26A24781-3981-44B6-8174-09532D93774C@mit.edu>
Anish R Athalye <aathalye@mit.edu> writes:
Show 5 quoted lines
> Now, when running `tail -n 3 .git/config`, you see:
>
>     [branch "master"]
>     [branch "master"]
>             description = asdf\n

Yes, this is a known bug that no one fixed yet. It was planned for Tanay's (Cc-ed) GSoC last year, but the project evolved in another direction.

> Is this something that we want to fix?
Patches welcome ;-).
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Anish R Athalye
Message 2 of 2 in “git_config_set(?) adding and removing creates extraneous lines”
  1. Anish R AthalyeJun 12, 2015
  2. Matthieu MoyJun 12, 2015

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.