From f6bd1cd919899d8de2be58b60dce17e17b44f0f9 Mon Sep 17 00:00:00 2001 From: Bert Wesarg Date: Wed, 26 Nov 2008 19:39:45 +0100 Subject: [PATCH] tg-summary: -t and --graphviz are mutual exclusive The -t and --graphviz don't work together, the output is not what one expect. Signed-off-by: Bert Wesarg Signed-off-by: martin f. krafft --- tg-summary.sh | 3 +++ 1 file changed, 3 insertions(+) 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 <