# means that they can currently be ignored, but are at least visible.
CHECKPATCH=build/checkpatch.pl
-CHECKPATCH_OPTS="--no-signoff --no-tree --no-tabs"
+CHECKPATCH_OPTS="--no-signoff --no-tree"
[ -r "$CHECKPATCH" ] || exit 0
# If there are no comments in the commit, it is likely a rebase and
echo "" >> "$1"
echo "#" >> "$1"
git diff --cached | $CHECKPATCH $CHECKPATCH_OPTS - | sed -e 's/^/# /' >> "$1"
+echo "# vim:textwidth=70:" >> "$1"