diff options
author | Kevin Sawicki | 2011-11-23 00:29:28 +0000 |
---|---|---|
committer | Kevin Sawicki | 2011-11-23 00:29:28 +0000 |
commit | c3fe50bb18ed4e4e5e563172be4076fa5901a18a (patch) | |
tree | a9f1013f7efc1ffbf49453a42749768cc4f91a0c /org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java | |
parent | 900bdbac5bad9d40df8d310a8f319ab616d1420b (diff) | |
download | jgit-c3fe50bb18ed4e4e5e563172be4076fa5901a18a.tar.gz jgit-c3fe50bb18ed4e4e5e563172be4076fa5901a18a.tar.xz jgit-c3fe50bb18ed4e4e5e563172be4076fa5901a18a.zip |
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>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java b/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java index fcc6cafd5e..4dabe07412 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java @@ -412,6 +412,7 @@ public class JGitText extends TranslationBundle { /***/ public String problemWithResolvingPushRefSpecsLocally; /***/ public String progressMonUploading; /***/ public String propertyIsAlreadyNonNull; + /***/ public String pullOnRepoWithoutHEADCurrentlyNotSupported; /***/ public String pullTaskName; /***/ public String pushCancelled; /***/ public String pushIsNotSupportedForBundleTransport; |