git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Bug? git config and --unset are not inverses
@ 2015-07-29 18:59 Dave Borowitz
  2015-07-29 19:02 ` Junio C Hamano
  2015-07-29 19:10 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Borowitz @ 2015-07-29 18:59 UTC (permalink / raw)
  To: git

It looks like git config --unset may leave an orphaned section, but a
subsequent set adds a new section:

$ git config --file=myconfig section.foo true
$ git config --file=myconfig --unset section.foo
$ cat myconfig
[section]
$ git config --file=myconfig section.foo true
$ cat myconfig
[section]
[section]
       foo = true
$ git --version
git version 2.5.0.rc2.392.g76e840b

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug? git config and --unset are not inverses
  2015-07-29 18:59 Bug? git config and --unset are not inverses Dave Borowitz
@ 2015-07-29 19:02 ` Junio C Hamano
  2015-07-29 19:10 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2015-07-29 19:02 UTC (permalink / raw)
  To: Dave Borowitz; +Cc: git

Dave Borowitz <dborowitz@google.com> writes:

> It looks like git config --unset may leave an orphaned section, but a
> subsequent set adds a new section:

Old news known for at least several years.  Patches welcome ;-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug? git config and --unset are not inverses
  2015-07-29 18:59 Bug? git config and --unset are not inverses Dave Borowitz
  2015-07-29 19:02 ` Junio C Hamano
@ 2015-07-29 19:10 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2015-07-29 19:10 UTC (permalink / raw)
  To: Dave Borowitz; +Cc: git

The most recent round of the discussion is here:

  http://thread.gmane.org/gmane.comp.version-control.git/219505/focus=219524

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-29 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 18:59 Bug? git config and --unset are not inverses Dave Borowitz
2015-07-29 19:02 ` Junio C Hamano
2015-07-29 19:10 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).