summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2015-07-23 11:11:21 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2015-07-23 11:11:21 -0400
commit6c6695315365a1fa3ccce27070db0699bb4f5c26 (patch)
tree596dd76fd8f99bedd3775c34fb85c1c640114d26 /scripts
parentd6c0ee9df8cdcc2a55188e5049d9bb8fec9b6256 (diff)
downloadkernel-6c6695315365a1fa3ccce27070db0699bb4f5c26.tar.gz
kernel-6c6695315365a1fa3ccce27070db0699bb4f5c26.tar.xz
kernel-6c6695315365a1fa3ccce27070db0699bb4f5c26.zip
Use git format-patch for git snapshots
There are two reasons for this. The first is that there is much more context around the changes. The second is that this will make automating an exploded git tree much easier to manage.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-git-snapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-git-snapshot.sh b/scripts/generate-git-snapshot.sh
index b6fe0d6c1..0107f1bd5 100755
--- a/scripts/generate-git-snapshot.sh
+++ b/scripts/generate-git-snapshot.sh
@@ -11,7 +11,7 @@ export NEWGIT=$(($OLDGIT+1))
pushd $LINUX_GIT
-git diff v$VER.. > /tmp/patch-$VER-git$NEWGIT
+git format-patch --stdout v$VER.. > /tmp/patch-$VER-git$NEWGIT
xz -9 /tmp/patch-$VER-git$NEWGIT
DESC=$(git describe)
popd