summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/resources/org
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/resources/org
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/resources/org')
-rw-r--r--org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
index 2c721eabb6..5f420ab18f 100644
--- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
+++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
@@ -367,6 +367,7 @@ invalidTagOption=Invalid tag option: {0}
invalidTimeout=Invalid timeout: {0}
invalidTimeUnitValue2=Invalid time unit value: {0}.{1}={2}
invalidTimeUnitValue3=Invalid time unit value: {0}.{1}.{2}={3}
+invalidTreeZeroLengthName=Cannot append a tree entry with zero-length name
invalidURL=Invalid URL {0}
invalidWildcards=Invalid wildcards {0}
invalidRefSpec=Invalid refspec {0}