Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Indicate the current branch in "tg summary --graphviz"

Give the current branch a yellow background in the output of
"tg summary --graphviz".

Signed-off-by: Per Cederqvist <ceder@lysator.liu.se>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information...
commit 7b523289a16c5ae66d36e3d10865594386a59c69 1 parent 83d44c0
@cederlys cederlys authored Uwe Kleine-König committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  tg-summary.sh
View
3  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 [ "$name" = "$curname" ] || [ "$dep" = "$curname" ]; then
+ echo "\"$curname\" [style=filled,fillcolor=yellow];"
+ fi
else
echo "$name $dep" >&4
fi

0 comments on commit 7b52328

Please sign in to comment.
Something went wrong with that request. Please try again.