From c29a187d9fe594b23f5efc88c9366cbe61776e1f 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 4c9eaa95..b72d8923 100755 --- a/scripts/update-patches.sh +++ b/scripts/update-patches.sh @@ -14,6 +14,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