Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
blame: prevent a segv when -L given start > EOF
[gitweb.git]
/
t
/
t4021-format-patch-numbered.sh
diff --git
a/t/t4021-format-patch-numbered.sh
b/t/t4021-format-patch-numbered.sh
index 9b6e1be8b298f4675d77adeb84dc4c8dfb4d0c85..709b3231ca8d9da631727b4aadfb2f46049d37e9 100755
(executable)
--- a/
t/t4021-format-patch-numbered.sh
+++ b/
t/t4021-format-patch-numbered.sh
@@
-115,4
+115,10
@@
test_expect_success 'format.numbered = auto && --no-numbered' '
'
+test_expect_success '--start-number && --numbered' '
+
+ git format-patch --start-number 3 --numbered --stdout HEAD~1 > patch8 &&
+ grep "^Subject: \[PATCH 3/3\]" patch8
+'
+
test_done