chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'refs/top-bases/fixes/ensure-worktree' into fixes/ensure-worktree
[topgit.git]
/
tg-summary.sh
diff --git
a/tg-summary.sh
b/tg-summary.sh
index 3c90a6b5952e526bac9da80e84386d6abf6246a8..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\)/##')"
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:
if [ -n "$graphviz" ]; then
cat <<EOT
# GraphViz output; pipe to:
@@
-98,3
+101,5
@@
git for-each-ref refs/top-bases |
if [ -n "$graphviz" ]; then
echo '}'
fi
if [ -n "$graphviz" ]; then
echo '}'
fi
+
+# vim:noet