]> source.dussan.org Git - jgit.git/commit
Accept '-' instead of space in enum config values 34/9634/2
authorShawn Pearce <spearce@spearce.org>
Fri, 11 Jan 2013 22:42:35 +0000 (14:42 -0800)
committerShawn Pearce <spearce@spearce.org>
Fri, 11 Jan 2013 22:52:13 +0000 (14:52 -0800)
commit912ef3da19c7bc1975805e1e3e9746baf479c2be
tree6d924ee09630d6ce14fb97e0f435b96a6559ba51
parent50eab4aa48377d628b2715a520378adab32221e0
Accept '-' instead of space in enum config values

This is necessary because some versions of JGit containing
the flawed c98abc9c0586c73ef7df4172644b7dd21c979e9d were
used in the wild and wrote bad configuration files. We now
must accept this value in addition to the preferred case.

Change-Id: I3ed5451735658df6381532499130e5186805024a
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java