]> source.dussan.org Git - jgit.git/commit
Avoid double quotes in Git Config 52/1452/5
authorMathias Kinzler <mathias.kinzler@sap.com>
Wed, 1 Sep 2010 07:13:19 +0000 (09:13 +0200)
committerMathias Kinzler <mathias.kinzler@sap.com>
Wed, 1 Sep 2010 07:13:19 +0000 (09:13 +0200)
commit2941d23e7ebaa524e7d9efbaf69565a57042d048
tree1f2cbaa839f6fb49abc38a2bc2b1418449f9f92e
parent6a05904e53bb60f96c344db33016b66f170cb9f0
Avoid double quotes in Git Config

Currently, if a branch is created that has special chars ('#' in the bug),
Config will surround the subsection name with double quotes during
it's toText method which will result in an invalid file after saving the
Config.

Bug: 318249
Change-Id: I0a642f52def42d936869e4aaaeb6999567901001
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryConfigTest.java [deleted file]
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java