]> source.dussan.org Git - jgit.git/commit
Guard against null branch in PullCommand 68/4668/2
authorKevin Sawicki <kevin@github.com>
Wed, 23 Nov 2011 00:29:28 +0000 (16:29 -0800)
committerKevin Sawicki <kevin@github.com>
Wed, 23 Nov 2011 00:29:28 +0000 (16:29 -0800)
commitc3fe50bb18ed4e4e5e563172be4076fa5901a18a
treea9f1013f7efc1ffbf49453a42749768cc4f91a0c
parent900bdbac5bad9d40df8d310a8f319ab616d1420b
Guard against null branch in PullCommand

Throw a NoHeadException when Repository.getFullBranch
returns null

Bug: 351543
Change-Id: I666cd5b67781508a293ae553c6fe5c080c8f4d99
Signed-off-by: Kevin Sawicki <kevin@github.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/PullCommandTest.java
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java