newvers.sh: restore reporting branch names
It got removed arguably without much discussion in the commit which added gitup support.
This commit is contained in:
parent
e808c8309c
commit
ace7209ce0
@ -258,6 +258,10 @@ if [ -n "$git_cmd" ] ; then
|
||||
git="c${git_cnt}-g${git}"
|
||||
fi
|
||||
fi
|
||||
git_b=$($git_cmd rev-parse --abbrev-ref HEAD)
|
||||
if [ -n "$git_b" -a "$git_b" != "HEAD" ] ; then
|
||||
git="${git_b}-${git}"
|
||||
fi
|
||||
if git_tree_modified; then
|
||||
git="${git}-dirty"
|
||||
modified=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user