Browse Source
* kb/am-directory: git-am: fix shell quoting git-am: add --directory=<dir> optionmaint

5 changed files with 66 additions and 9 deletions
@ -0,0 +1,20 @@ |
|||||||
|
From: A U Thor <au.thor@example.com> |
||||||
|
Date: Thu Dec 4 16:00:00 2008 -0800 |
||||||
|
Subject: Six |
||||||
|
|
||||||
|
Applying this patch with --directory='frotz nitfol' should fail |
||||||
|
|
||||||
|
diff --git i/junk/file-2 w/junk/file-2 |
||||||
|
index 06e567b..b6f3a16 100644 |
||||||
|
--- i/junk/file-2 |
||||||
|
+++ w/junk/file-2 |
||||||
|
@@ -1,7 +1,7 @@ |
||||||
|
One |
||||||
|
2 |
||||||
|
-3 |
||||||
|
+Three |
||||||
|
4 |
||||||
|
5 |
||||||
|
-6 |
||||||
|
+Six |
||||||
|
7 |
@ -0,0 +1,15 @@ |
|||||||
|
From: A U Thor <au.thor@example.com> |
||||||
|
Date: Thu Dec 4 16:00:00 2008 -0800 |
||||||
|
Subject: Six |
||||||
|
|
||||||
|
Applying this patch with --directory='frotz nitfol' should succeed |
||||||
|
|
||||||
|
diff --git i/file-5 w/file-5 |
||||||
|
new file mode 100644 |
||||||
|
index 000000..1d6ed9f |
||||||
|
--- /dev/null |
||||||
|
+++ w/file-5 |
||||||
|
@@ -0,0 +1,3 @@ |
||||||
|
+One |
||||||
|
+two |
||||||
|
+three |
Loading…
Reference in new issue