diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-08 15:50:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-08 15:50:08 -0700 |
commit | 2a393571e576ebac27852cc637080df9812b75d1 (patch) | |
tree | 47e35ae772b24b6045e1a37c43d327008e006707 | |
parent | 4d456c54bf1852e825d56e627a8ffd672ce5da9d (diff) | |
download | git-2a393571e576ebac27852cc637080df9812b75d1.tar.gz |
Meta/V: give summary hash at the end
-rwxr-xr-x | V | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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="[41;37m" out="[m" 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/ .*//' |