Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
format-patch: add test for parsing of "--"
author
Felipe Contreras
<felipe.contreras@gmail.com>
Thu, 26 Nov 2009 19:12:00 +0000
(21:12 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 27 Nov 2009 05:23:55 +0000
(21:23 -0800)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4014-format-patch.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
382da40
)
diff --git
a/t/t4014-format-patch.sh
b/t/t4014-format-patch.sh
index 531f5b795c197d942223db3cdc2d2030208e9beb..437807e41ecf3fbde2b1b717960b4a384bc66bab 100755
(executable)
--- a/
t/t4014-format-patch.sh
+++ b/
t/t4014-format-patch.sh
@@
-515,4
+515,9
@@
test_expect_success 'format-patch --signoff' '
grep "^Signed-off-by: $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"
'
+test_expect_success 'format-patch -- <path>' '
+ git format-patch master..side -- file 2>error &&
+ ! grep "Use .--" error
+'
+
test_done