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.
This commit is contained in:
Josh Boyer 2015-07-23 11:11:21 -04:00
parent d6c0ee9df8
commit 6c66953153
1 changed files with 1 additions and 1 deletions

View File

@ -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