[kernel-team] 01/01: git-format-patch-for-debian: Disable renames in patches

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Feb 17 13:21:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository kernel-team.

commit d57bc524a8469511f923254a84d23fc7dbf17ea3
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Feb 17 13:19:48 2017 +0000

    git-format-patch-for-debian: Disable renames in patches
    
    patch and quilt can apply renames, but dpkg-source cannot.
---
 scripts/git-format-patch-for-debian | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/git-format-patch-for-debian b/scripts/git-format-patch-for-debian
index 97e5ae5..80122a6 100755
--- a/scripts/git-format-patch-for-debian
+++ b/scripts/git-format-patch-for-debian
@@ -83,7 +83,7 @@ if [ ! -v GIT_URL_BASE ]; then
     export GIT_URL_BASE=https://git.kernel.org/linus/
 fi
 
-git format-patch --subject-prefix='' "$@" | while read name; do
+git format-patch --subject-prefix='' --no-renames "$@" | while read name; do
     printf '%s\n' "$name"
     mv "$name" "$name".orig
     awk 'BEGIN { split(ENVIRON["BUG_URL_LIST"], bug_urls) }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list