All of lore.kernel.org
 help / color / mirror / 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.