chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eec290
)
tg-summary: -t and --graphviz are mutual exclusive
author
Bert Wesarg
<bert.wesarg@googlemail.com>
Wed, 26 Nov 2008 18:39:45 +0000
(19:39 +0100)
committer
martin f. krafft
<madduck@debian.org>
Tue, 2 Dec 2008 07:47:13 +0000
(08:47 +0100)
The -t and --graphviz don't work together, the output is not what one expect.
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: martin f. krafft <madduck@debian.org>
tg-summary.sh
patch
|
blob
|
history
diff --git
a/tg-summary.sh
b/tg-summary.sh
index 870fcf4ddbfe9b988b5d2e35822558ff961fcda4..842d95ad34d11228203b437fa4e487ecac254071 100644
(file)
--- 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 <<EOT
# GraphViz output; pipe to: