Преглед на файлове

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.
Matthias Schiffer преди 8 години
родител
ревизия
c29a187d9f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      scripts/update-patches.sh

+ 1 - 1
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