From e678ab140e51bac3360449b3d10d2a55cae2f6ab Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 1 Jul 2016 13:22:09 +0200 Subject: [PATCH] scripts/update-patches: disable rename detection git 2.9 enables rename detection by default, changing the content of some of our patch files. Explicitly disable it. --- scripts/update-patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-patches.sh b/scripts/update-patches.sh index cfdeb58e..f8b92025 100755 --- a/scripts/update-patches.sh +++ b/scripts/update-patches.sh @@ -16,6 +16,6 @@ for module in $GLUON_MODULES; do n=0 for commit in $(git rev-list --reverse --no-merges base..patched); do let n=n+1 - git show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' $commit > "$GLUONDIR"/patches/$module/"$(printf '%04u' $n)-$(git show -s --pretty=format:%f $commit).patch" + git 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" done done