Git development
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox