OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
382da40
)
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
diff --git
a/t/t4014-format-patch.sh
b/t/t4014-format-patch.sh
index
531f5b7
..
437807e
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