]> source.dussan.org Git - jgit.git/commit
Fix config value get to return last instead of 1st just like git 96/72296/4
authorMarco Miller <marco.miller@ericsson.com>
Fri, 6 May 2016 20:19:42 +0000 (16:19 -0400)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 11 May 2016 22:26:38 +0000 (00:26 +0200)
commit00db4ab06ea5411732ca77cebc823d90cc59e372
tree369b05f17b7a1198933022f87bb12b15619d1a66
parente5a9915a921155ba2f2f7babe5d4aa1abad0000c
Fix config value get to return last instead of 1st just like git

Before this fix, getting the value of 'key' below used to return
value1. This fix makes it so that value3 gets returned instead,
just like native git's get.

[section]
  key = value1
  key = value2
  key = value3

Change-Id: Iccb24de9b63c3ad8646c909494ca3f8c9ed6e29c
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java