summaryrefslogtreecommitdiff
path: root/t/t7007-show.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7007-show.sh')
-rwxr-xr-xt/t7007-show.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7007-show.sh b/t/t7007-show.sh
index 1b824fe..42d3db6 100755
--- a/t/t7007-show.sh
+++ b/t/t7007-show.sh
@@ -124,4 +124,8 @@ test_expect_success '--quiet suppresses diff' '
test_cmp expect actual
'
+test_expect_success 'show --graph is forbidden' '
+ test_must_fail git show --graph HEAD
+'
+
test_done