summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive/resources/org
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2013-12-27 08:55:39 -0800
committerJonathan Nieder <jrn@google.com>2013-12-27 08:55:39 -0800
commit2ecc27db9297e0dd9f4113699deeadd575731106 (patch)
treeb6e9cc336a072b0b7c129dcab87471402d00c035 /org.eclipse.jgit.archive/resources/org
parentf2abbd0ea99aed638ca098e336f60f52bc923237 (diff)
downloadjgit-2ecc27db9297e0dd9f4113699deeadd575731106.tar.gz
jgit-2ecc27db9297e0dd9f4113699deeadd575731106.zip
archive: Include entries for directories
Entries for directories are optional and mostly wasted space in most archive formats (except as a place to hang ownership and filesystem permissions), but "git archive" includes them. Follow suit. This will make it easier in a later change to include empty directories as placeholders for missing submodules. Change-Id: I1810c686bcc9eb4d73498e4d3e763e18787b088a Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'org.eclipse.jgit.archive/resources/org')
-rw-r--r--org.eclipse.jgit.archive/resources/org/eclipse/jgit/archive/internal/ArchiveText.properties2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.archive/resources/org/eclipse/jgit/archive/internal/ArchiveText.properties b/org.eclipse.jgit.archive/resources/org/eclipse/jgit/archive/internal/ArchiveText.properties
new file mode 100644
index 0000000000..fecf99e575
--- /dev/null
+++ b/org.eclipse.jgit.archive/resources/org/eclipse/jgit/archive/internal/ArchiveText.properties
@@ -0,0 +1,2 @@
+pathDoesNotMatchMode=Path {0} does not match mode {1}
+unsupportedMode=Unsupported mode {0}