scripts: display commit title when updating patches
This commit is contained in:
parent
7c0408d96d
commit
84b0a381dc
@ -21,6 +21,7 @@ for module in $GLUON_MODULES; do
|
|||||||
for commit in $(git rev-list --reverse --no-merges base..patched); do
|
for commit in $(git rev-list --reverse --no-merges base..patched); do
|
||||||
(( ++n ))
|
(( ++n ))
|
||||||
mkdir -p "${GLUON_PATCHESDIR}/$module"
|
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"
|
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
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user