aboutsummaryrefslogtreecommitdiff
path: root/git/test/fixtures
diff options
context:
space:
mode:
authorJJ Graham <thetwoj@gmail.com>2019-10-17 22:15:45 -0500
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-19 13:17:16 +0200
commit59ad90694b5393ce7f6790ade9cb58c24b8028e5 (patch)
treedb71095dec73f773c59b1066954bba94b44cd4c5 /git/test/fixtures
parent43564d2e8f3b95f33e10a5c8cc2d75c0252d659a (diff)
downloadGitPython-59ad90694b5393ce7f6790ade9cb58c24b8028e5.tar.gz
GitPython-59ad90694b5393ce7f6790ade9cb58c24b8028e5.zip
Adding diff support for copied files, still working on test
Diffstat (limited to 'git/test/fixtures')
-rw-r--r--git/test/fixtures/diff_copied_mode4
-rw-r--r--git/test/fixtures/diff_copied_mode_raw1
2 files changed, 5 insertions, 0 deletions
diff --git a/git/test/fixtures/diff_copied_mode b/git/test/fixtures/diff_copied_mode
new file mode 100644
index 00000000..60707afc
--- /dev/null
+++ b/git/test/fixtures/diff_copied_mode
@@ -0,0 +1,4 @@
+diff --git a/test1.txt b/test2.txt
+similarity index 100%
+copy from test1.txt
+copy to test2.txt
diff --git a/git/test/fixtures/diff_copied_mode_raw b/git/test/fixtures/diff_copied_mode_raw
new file mode 100644
index 00000000..7f414d81
--- /dev/null
+++ b/git/test/fixtures/diff_copied_mode_raw
@@ -0,0 +1 @@
+:100644 100644 cfe9dea cfe9dea C100 test1.txt test2.txt