aboutsummaryrefslogtreecommitdiff
path: root/t/t4021-format-patch-numbered.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-05-25 19:03:52 -0700
committerJunio C Hamano <gitster@pobox.com>2009-05-25 19:03:52 -0700
commit597a1782460085105f7530c815e79cbb1de272d9 (patch)
tree88e74d5dc3af901307b4545df9c2eba0c6b5439a /t/t4021-format-patch-numbered.sh
parent5c44cc9ea29b74ed10f5f239791b2c2f9586f197 (diff)
parentca6b91d29b7ea937b71f62bf00ba7750f3e594ce (diff)
downloadgit-597a1782460085105f7530c815e79cbb1de272d9.tar.gz
git-597a1782460085105f7530c815e79cbb1de272d9.tar.xz
Merge branch 'jm/format-patch-no-auto-n-when-k-is-given' into maint
* jm/format-patch-no-auto-n-when-k-is-given: format-patch let -k override a config-specified format.numbered
Diffstat (limited to 't/t4021-format-patch-numbered.sh')
-rwxr-xr-xt/t4021-format-patch-numbered.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t4021-format-patch-numbered.sh b/t/t4021-format-patch-numbered.sh
index 3c27f0dc1..709b3231c 100755
--- a/t/t4021-format-patch-numbered.sh
+++ b/t/t4021-format-patch-numbered.sh
@@ -86,6 +86,13 @@ test_expect_success 'format.numbered && --no-numbered' '
'
+test_expect_success 'format.numbered && --keep-subject' '
+
+ git format-patch --keep-subject --stdout HEAD^ >patch4a &&
+ grep "^Subject: Third" patch4a
+
+'
+
test_expect_success 'format.numbered = auto' '
git config format.numbered auto