aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst-rsrc/org/eclipse
diff options
context:
space:
mode:
authorAnton Khodos <khodosanton@gmail.com>2019-06-14 17:16:15 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2019-08-19 02:37:04 +0200
commit5e44bfa3ad462e1220426492c53606c6a643a970 (patch)
tree003ec4c56e4fdab69b2e4840b6357dabecf2f1d7 /org.eclipse.jgit.test/tst-rsrc/org/eclipse
parent8c7f1a699a65738220dd08a130295804cad32a32 (diff)
downloadjgit-5e44bfa3ad462e1220426492c53606c6a643a970.tar.gz
jgit-5e44bfa3ad462e1220426492c53606c6a643a970.zip
Fix ApplyCommand which doesn't work if patch adds empty file
Bug: 548219 Change-Id: Ibb32132a38e54508a24489322da58ddfd80a1d9a Signed-off-by: Anton Khodos <khodosanton@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst-rsrc/org/eclipse')
-rw-r--r--org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3.patch3
-rw-r--r--org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3_PostImage0
2 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3.patch b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3.patch
new file mode 100644
index 0000000000..ac63d91137
--- /dev/null
+++ b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3.patch
@@ -0,0 +1,3 @@
+diff --git a/A3 b/A3
+new file mode 100644
+index 0000000..de98044 \ No newline at end of file
diff --git a/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3_PostImage b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3_PostImage
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/A3_PostImage