updateSubmodule: Show whole commit message in console output

We lose the color from the git log output, but having
all the information is more useful.

Change-Id: I06b430ce994aa5af4edc700db4676cccd2f9404d
This commit is contained in:
Ed Sanders 2023-12-02 10:11:05 +00:00
parent 770e3e90fa
commit 74991b163a

View file

@ -48,7 +48,6 @@ fi
# TODO recurse
NEWCHANGES=$(git log ..$TARGET --oneline --no-merges --topo-order --reverse --color=never)
TASKS=$(git log ..$TARGET --no-merges --format=format:%B | grep "Bug: T" | sort | uniq)
NEWCHANGESDISPLAY=$(git log ..$TARGET --oneline --no-merges --reverse --color=always)
NEW_I18N_KEYS=$(git diff HEAD..$TARGET -- i18n/en.json | grep '^+' | grep --color=never -v '^+++' | sed -E 's/^\+\s*"([^"]+)":.*/\1/')
NEW_FILES=$(git diff HEAD..$TARGET --name-only --diff-filter=A | grep --color=never -E "\.(js|css|less)$")
@ -88,7 +87,8 @@ else
cat >&2 <<END
Created commit with changes:
$NEWCHANGESDISPLAY
Created commit:
$COMMITMSG
END
fi