From 6c6695315365a1fa3ccce27070db0699bb4f5c26 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Thu, 23 Jul 2015 11:11:21 -0400 Subject: 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. --- scripts/generate-git-snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/generate-git-snapshot.sh') 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 -- cgit