We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab9d7f commit 6298015Copy full SHA for 6298015
docs/tools/summarise_o2p_setup.sh
@@ -38,7 +38,7 @@ fi
38
39
for repo in alidist O2 O2Physics; do
40
[[ -d "${repo}" ]] || { echo "Directory ${repo} not found in the current directory."; continue; }
41
- echo "Last commit of ${repo}: $(cd "${repo}" && git log -n 1 --pretty="format:%ci %h")"
+ echo "Current commit of ${repo}: $(cd "${repo}" && { commit="$(git log -n 1 --pretty="format:%ci %h")"; branch="$(git rev-parse --abbrev-ref HEAD)"; echo "$commit ($branch)"; })"
42
done
43
44
# Package build info
0 commit comments