X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-summary.sh;h=842d95ad34d11228203b437fa4e487ecac254071;hb=7d639febf13c030f524d6fa41cdb9c06d0cfc83d;hp=3c90a6b5952e526bac9da80e84386d6abf6246a8;hpb=55578f0151f8c274a8a1fc0cf62e0220bc722d81;p=topgit.git diff --git a/tg-summary.sh b/tg-summary.sh index 3c90a6b..842d95a 100644 --- a/tg-summary.sh +++ b/tg-summary.sh @@ -24,6 +24,9 @@ done curname="$(git symbolic-ref HEAD | sed 's#^refs/\(heads\|top-bases\)/##')" +! [ -n "$terse" -a -n "$graphviz" ] || + die "-t and --graphviz options are mutual exclusive" + if [ -n "$graphviz" ]; then cat <