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>
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