Add support for boolean config values "on", "off"
commit9f0e280a3bada33978b2c0766886a25cd16994b4
authorShawn O. Pearce <spearce@spearce.org>
Thu, 7 May 2009 18:01:47 +0000 (7 11:01 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 7 May 2009 23:08:44 +0000 (8 01:08 +0200)
tree488780a7a38c632142bf160a18e98d2afac12820
parente911a80b340a7d6751dc17601627bccafffc9316
Add support for boolean config values "on", "off"

In 8f8c6fafd92f (shipped in 1.6.3) Linus taught C Git how to read
boolean configuration values set to "on" as true and "off" as false.
Add support for these values, and some test cases.

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