summaryrefslogtreecommitdiffstats
path: root/scripts/git-ptx-patches
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-09 13:59:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-09 13:59:35 +0200
commitd73180007c89f425408a958464b8dd17f4106649 (patch)
tree8a3083bb73c25518aa04e5384bdf186473dbf958 /scripts/git-ptx-patches
parent54e94f3c08917f90d4ecdd6cbcdf483e4798b8eb (diff)
downloadptxdist-d73180007c89f425408a958464b8dd17f4106649.tar.gz
ptxdist-d73180007c89f425408a958464b8dd17f4106649.tar.xz
[git-ptx-patches] add -N to 'git format-patch'
With this the patch subject is '[PATCH] ...' and not e.g. '[PATCH 2/4]' This avoids unnecessary changes when updating patches. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/git-ptx-patches')
-rwxr-xr-xscripts/git-ptx-patches2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-ptx-patches b/scripts/git-ptx-patches
index e83f8425b..97105b9e2 100755
--- a/scripts/git-ptx-patches
+++ b/scripts/git-ptx-patches
@@ -60,7 +60,7 @@ case "$remove_old" in
esac
echo "$PTX_PATCHES_HEADER" > .ptxdist/series
-git format-patch -o .ptxdist/patches/ base | sed -e 's,^.ptxdist/patches/,,' >> .ptxdist/series
+git format-patch -N -o .ptxdist/patches/ base | sed -e 's,^.ptxdist/patches/,,' >> .ptxdist/series
cat .ptxdist/series | _md5sum >> .ptxdist/series
# The first line of the patch is 'From <some-git-hash> ...'