aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
diff options
context:
space:
mode:
authorDavid Turner <dturner@twosigma.com>2016-09-26 16:41:19 -0400
committerDavid Pursehouse <david.pursehouse@gmail.com>2016-10-19 22:24:24 +0900
commite3468735111f26e4cdb4c249c257da52f4c3cffb (patch)
tree213c1ff0f07dd7252a6293211e5c431f866b1823 /org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
parentccc899773e903cae48816edc9ad3c564c161111d (diff)
downloadjgit-e3468735111f26e4cdb4c249c257da52f4c3cffb.tar.gz
jgit-e3468735111f26e4cdb4c249c257da52f4c3cffb.zip
TreeFormatter: disallow empty filenames in trees
Git barfs on these (and they don't make any sense), so we certainly shouldn't write them. Change-Id: I3faf8554a05f0fd147be2e63fbe55987d3f88099 Signed-off-by: David Turner <dturner@twosigma.com> Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
index 956171b127..e920554a48 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
@@ -425,6 +425,7 @@ public class JGitText extends TranslationBundle {
/***/ public String invalidTimeout;
/***/ public String invalidTimeUnitValue2;
/***/ public String invalidTimeUnitValue3;
+ /***/ public String invalidTreeZeroLengthName;
/***/ public String invalidURL;
/***/ public String invalidWildcards;
/***/ public String invalidRefSpec;