aboutsummaryrefslogtreecommitdiff
path: root/t/t9902-completion.sh
diff options
context:
space:
mode:
authorMirko Faina <mroik@delayed.space>2026-03-23 17:57:30 +0100
committerJunio C Hamano <gitster@pobox.com>2026-03-23 13:06:58 -0700
commit67ea2ad7d1b006194762cbfcc0b7801ffe652ca4 (patch)
treeba32e5ceaf94c19646bbc9382cdddf5c24aa5171 /t/t9902-completion.sh
parent3482b4278793f3adb1fa811dd30c637563ca9cec (diff)
downloadgit-67ea2ad7d1b006194762cbfcc0b7801ffe652ca4.tar.xz
format-patch: rename --cover-letter-format option
To align the name of the configuration variable and the name of the command line option, either one should change name. By changing the name of the option we get the added benefit of having --cover-<TAB> expand to --cover-letter without ambiguity. If the user gives the --cover-letter-format option it would be reasonable to expect that the user wants to generate the cover letter despite not giving --cover-letter. Rename --cover-letter-format to --commit-list-format and make it imply --cover-letter unless --no-cover-letter is given. Signed-off-by: Mirko Faina <mroik@delayed.space> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9902-completion.sh')
-rwxr-xr-xt/t9902-completion.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index 35e20b5351..2f9a597ec7 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -2775,7 +2775,6 @@ test_expect_success PERL 'send-email' '
test_completion "git send-email --cov" <<-\EOF &&
--cover-from-description=Z
--cover-letter Z
- --cover-letter-format=Z
EOF
test_completion "git send-email --val" <<-\EOF &&
--validate Z