chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Indicate the current branch in "tg summary --graphviz"
[topgit.git]
/
tg-summary.sh
diff --git
a/tg-summary.sh
b/tg-summary.sh
index 75ef4e3cc2c5fc77058565245fc737d3bdc21252..af16888c1797db909dbcff7d2ff15c1cf0ec0b28 100644
(file)
--- a/
tg-summary.sh
+++ b/
tg-summary.sh
@@
-121,6
+121,9
@@
git for-each-ref refs/top-bases |
if ! "$dep_is_tgish" || ! branch_annihilated $dep; then
if [ -n "$graphviz" ]; then
echo "\"$name\" -> \"$dep\";"
if ! "$dep_is_tgish" || ! branch_annihilated $dep; then
if [ -n "$graphviz" ]; then
echo "\"$name\" -> \"$dep\";"
+ if [ "$name" = "$curname" ] || [ "$dep" = "$curname" ]; then
+ echo "\"$curname\" [style=filled,fillcolor=yellow];"
+ fi
else
echo "$name $dep" >&4
fi
else
echo "$name $dep" >&4
fi