summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-11-29 15:41:49 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-29 15:41:49 -0800
commit7c2abf1a83efa13ffc03a3847f774cf85ffce913 (patch)
tree1807ee5c11dc5c47aa21b367d6dda9600d3607b0 /t
parentMerge branch 'jc/unsetenv-returns-an-int' (diff)
parentsend-email docs: add format-patch options (diff)
downloadtgif-7c2abf1a83efa13ffc03a3847f774cf85ffce913.tar.xz
Merge branch 'tp/send-email-completion'
The command line complation for "git send-email" options have been tweaked to make it easier to keep it in sync with the command itself. * tp/send-email-completion: send-email docs: add format-patch options send-email: programmatically generate bash completions
Diffstat (limited to 't')
-rwxr-xr-xt/t9902-completion.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index 5decc3b269..518203fbe0 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -2148,6 +2148,9 @@ test_expect_success PERL 'send-email' '
--cover-from-description=Z
--cover-letter Z
EOF
+ test_completion "git send-email --val" <<-\EOF &&
+ --validate Z
+ EOF
test_completion "git send-email ma" "main "
'