Meta/V: give summary hash at the end

todo
Junio C Hamano 2023-09-08 15:50:08 -07:00
parent 4d456c54bf
commit 2a393571e5
1 changed files with 8 additions and 1 deletions

9
V
View File

@ -14,6 +14,9 @@ inst_prefix=$(
echo $HOME
)

LF='
'
output=
for v in maint master next jch seen
do
installed=$(
@ -61,5 +64,9 @@ do
esac
in="" out="" installed=" $installed"
fi
echo "$in$v$out$installed $(git describe refs/heads/$v)"
output="$output${output:+$LF}"
output="$output$in$v$out$installed $(git describe refs/heads/$v)"
done

echo "$output"
echo "$output" | sha1sum | sed -e 's/ .*//'