diff options
author | Lectem <lectem@gmail.com> | 2015-05-31 13:24:23 +0200 |
---|---|---|
committer | Lectem <lectem@gmail.com> | 2015-06-09 19:59:39 +0200 |
commit | 85183a702ab342de03d7a8d7b73e1fb0f7e346f2 (patch) | |
tree | 4fcf5606b0a3d564ef62e28ec13aee70b5fdb5f1 /.gitconfig | |
parent | 513f6a277e0261b1a4d336daeac1133db46213ab (diff) |
force no-tab/trailing spaces with git hook
Remove unneeded stuff from pre-commit script
The check against an empty commit was not needed (it is only a security for the 1st commit after git init).
It could also possibly pose problems because of the redirection to /dev/null on some windows systems.
newline at EOF & fixed indent
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 00000000..4cab7f2d --- /dev/null +++ b/.gitconfig @@ -0,0 +1,2 @@ +[core] + whitespace = blank-at-eol,trailing-space,tab-in-indent |