Skip to content
Snippets Groups Projects
Commit 84b0a381 authored by David Bauer's avatar David Bauer
Browse files

scripts: display commit title when updating patches

parent 7c0408d9
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ for module in $GLUON_MODULES; do
for commit in $(git rev-list --reverse --no-merges base..patched); do
(( ++n ))
mkdir -p "${GLUON_PATCHESDIR}/$module"
echo "Updating: $(git log --format=%s -n 1 "$commit")"
git -c core.abbrev=40 show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' --no-renames --binary "$commit" > "${GLUON_PATCHESDIR}/$module/$(printf '%04u' "$n")-$(git show -s --pretty=format:%f "$commit").patch"
done
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment