X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=blobdiff_plain;f=tg-summary.sh;fp=tg-summary.sh;h=842d95ad34d11228203b437fa4e487ecac254071;hp=870fcf4ddbfe9b988b5d2e35822558ff961fcda4;hb=f6bd1cd919899d8de2be58b60dce17e17b44f0f9;hpb=4eec290bb9ef01624d8ddd72959a93d046d6c7a3 diff --git a/tg-summary.sh b/tg-summary.sh index 870fcf4..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 <