Add unsetSection to Config to remove an entire block
commit48e9a010ae9cfee5cc2daae2bf20d510ab9c108f
authorShawn O. Pearce <spearce@spearce.org>
Thu, 28 Jan 2010 19:10:52 +0000 (28 11:10 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 29 Jan 2010 04:48:31 +0000 (29 05:48 +0100)
tree35f60e6322516e0b1a4aa9aa50c523e2fff05f88
parentaa97c6e4499547c1e33b54a5630b03f2983828b4
Add unsetSection to Config to remove an entire block

The unsetSection method can be used to delete an entire configuration
block, such as a [branch ""] or [remote ""] section in a file.

Change-Id: I93390c9b2187eb1b0d51353518feaed83bed2aad
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryConfigTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java