]> source.dussan.org Git - jgit.git/commit
Fix API ListBranchCommand for listmode 'all' 40/2240/1
authorRoberto Tyley <roberto.tyley@guardian.co.uk>
Wed, 12 Jan 2011 14:34:10 +0000 (14:34 +0000)
committerRoberto Tyley <roberto.tyley@guardian.co.uk>
Wed, 12 Jan 2011 14:34:10 +0000 (14:34 +0000)
commit944fcdae66bb4de712e2eadec73d8008d3a9bace
treeb92a65c2e7d53aa90e849bac0879374fd8f113dc
parentbe38185a033021da707f934caf96b68070050bd5
Fix API ListBranchCommand for listmode 'all'

If remote branches are present they can not be added
to the RefMap from the local branches - the two RefMaps
have a different value of 'prefix' and consequently an
IllegalArgumentException is thrown.
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/BranchCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/ListBranchCommand.java