aboutsummaryrefslogtreecommitdiffstats
path: root/t/t1517-outside-repo.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1517-outside-repo.sh')
-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 3dc602872a..e34321dd44 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_done