Re: Bug? git config and --unset are not inverses

2015-07-29 Thread Junio C Hamano
Dave Borowitz dborow...@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 ;-)
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Bug? git config and --unset are not inverses

2015-07-29 Thread Dave Borowitz
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
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Bug? git config and --unset are not inverses

2015-07-29 Thread Junio C Hamano
The most recent round of the discussion is here:

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

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html