summaryrefslogtreecommitdiff
path: root/t/t6014-rev-list-all.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6014-rev-list-all.sh')
-rwxr-xr-xt/t6014-rev-list-all.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t6014-rev-list-all.sh b/t/t6014-rev-list-all.sh
index 991ab4a65b..c9bedd29cb 100755
--- a/t/t6014-rev-list-all.sh
+++ b/t/t6014-rev-list-all.sh
@@ -35,4 +35,8 @@ test_expect_success 'repack does not lose detached HEAD' '
'
+test_expect_success 'rev-list --graph --no-walk is forbidden' '
+ test_must_fail git rev-list --graph --no-walk HEAD
+'
+
test_done