+ elif test "${pandora_building_from_git}" = "yes"; then
+ echo "# Grabbing changelog and version information from git"
+ PANDORA_GIT_REVID=`git --no-pager log --max-count=1 | cut -f2 -d' ' | head -1`
+ if test "x$PANDORA_GIT_REVID" != "x${PANDORA_VC_REVNO}" ; then
+ PANDORA_VC_REVID="${PANDORA_GIT_REVID}"
+ PANDORA_VC_BRANCH=`git branch | grep -Ei "\* (.*)" | cut -f2 -d' '`
+ fi