summaryrefslogtreecommitdiff
path: root/generate/linux/gen-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate/linux/gen-patch.sh')
-rwxr-xr-xgenerate/linux/gen-patch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/generate/linux/gen-patch.sh b/generate/linux/gen-patch.sh
index 694c0ec45..a588bed89 100755
--- a/generate/linux/gen-patch.sh
+++ b/generate/linux/gen-patch.sh
@@ -53,8 +53,8 @@ if [ "x${COMMIT}" = "x" ]; then
COMMIT=HEAD
fi
-after=`git log -1 ${COMMIT} --format=%H | cut -c1-8`
-before=`git log -1 ${COMMIT}^1 --format=%H | cut -c1-8`
+after=`git log -1 ${COMMIT} --format=%H`
+before=`git log -1 ${COMMIT}^1 --format=%H`
SCRIPT=`(cd \`dirname $0\`; pwd)`
. $SCRIPT/libacpica.sh