]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4252/am-test-3-1
Test that git-am does not lose -C/-p/--whitespace options
[thirdparty/git.git] / t / t4252 / am-test-3-1
diff --git a/t/t4252/am-test-3-1 b/t/t4252/am-test-3-1
new file mode 100644 (file)
index 0000000..608e5ab
--- /dev/null
@@ -0,0 +1,19 @@
+From: A U Thor <au.thor@example.com>
+Date: Thu Dec 4 16:00:00 2008 -0800
+Subject: Three
+
+Application of this should be rejected even with -p2 because the
+preimage line in the context does not match.
+
+diff --git i/junk/file-1 w/junk/file-1
+index 06e567b..10f8342 100644
+--- i/junk/file-1
++++ w/junk/file-1
+@@ -1,6 +1,6 @@
+ 1
+ 2
+-Tres
++Three 
+ 4
+ 5
+ 6