Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-09 01:50:08 +0300
committerJunio C Hamano <gitster@pobox.com>2023-09-09 01:50:08 +0300
commit2a393571e576ebac27852cc637080df9812b75d1 (patch)
tree47e35ae772b24b6045e1a37c43d327008e006707
parent4d456c54bf1852e825d56e627a8ffd672ce5da9d (diff)
Meta/V: give summary hash at the end
-rwxr-xr-xV9
1 files changed, 8 insertions, 1 deletions
diff --git a/V b/V
index 158183918d..d13d960e3c 100755
--- a/V
+++ b/V
@@ -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/ .*//'