diff --git a/scripts/update-patches.sh b/scripts/update-patches.sh index c8464646..cb38c37d 100755 --- a/scripts/update-patches.sh +++ b/scripts/update-patches.sh @@ -19,6 +19,6 @@ for module in $GLUON_MODULES; do for commit in $(git rev-list --reverse --no-merges base..patched); do let n=n+1 mkdir -p "$GLUONDIR"/patches/"$module" - git -c core.abbrev=40 show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' --no-renames "$commit" > "$GLUONDIR/patches/$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" > "$GLUONDIR/patches/$module/$(printf '%04u' $n)-$(git show -s --pretty=format:%f "$commit").patch" done done