Whamcloud - gitweb
LU-1434 llog: remove unused llog_create_rec struct
[fs/lustre-release.git] / build / prepare-commit-msg
index b84609e..cbb486e 100755 (executable)
@@ -14,7 +14,7 @@
 # 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
@@ -31,3 +31,4 @@ grep -qs "^$SIGNOFF" "$1" || echo "# $SIGNOFF" >> "$1"
 echo "" >> "$1"
 echo "#" >> "$1"
 git diff --cached | $CHECKPATCH $CHECKPATCH_OPTS - | sed -e 's/^/# /' >> "$1"
+echo "# vim:textwidth=70:" >> "$1"