aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-08-13 15:54:58 -0700
committerJunio C Hamano <gitster@pobox.com>2025-08-13 15:54:59 -0700
commit6dce87c0b58def92c4b0546c8a87e538af8d4902 (patch)
tree76af9ded79e164616b9de921fd70c0d636a7d804 /t
parentSync with Git 2.51-rc2 (diff)
parentbuiltin: also setup gently for --help-all (diff)
downloadgit-6dce87c0b58def92c4b0546c8a87e538af8d4902.tar.gz
git-6dce87c0b58def92c4b0546c8a87e538af8d4902.zip
Merge branch 'dk/help-all' into next
"git cmd --help-all" outside repository. * dk/help-all: builtin: also setup gently for --help-all parse-options: refactor flags for usage_with_options_internal
Diffstat (limited to 't')
-rwxr-xr-xt/t1517-outside-repo.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t1517-outside-repo.sh b/t/t1517-outside-repo.sh
index 5ce0ceb176..1c69d52c76 100755
--- a/t/t1517-outside-repo.sh
+++ b/t/t1517-outside-repo.sh
@@ -133,6 +133,10 @@ do
test_expect_code 129 nongit git $cmd -h >usage &&
test_grep "[Uu]sage: git $cmd " usage
'
+ test_$expect_outcome $prereq "'git $cmd --help-all' outside a repository" '
+ test_expect_code 129 nongit git $cmd --help-all >usage &&
+ test_grep "[Uu]sage: git $cmd " usage
+ '
done
test_expect_success 'fmt-merge-msg does not crash with -h' '