diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-05-27 14:44:20 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-05-27 14:50:57 +0200 |
commit | 01e8dbf74068362d769604df9e87d17c0c190f27 (patch) | |
tree | 02978e5270fe473cbfdd113a80ce343527682fd0 /.gitattributes | |
parent | 1e26928dd197a80572f4e298eceeec915677ba3d (diff) | |
download | mupdf-01e8dbf74068362d769604df9e87d17c0c190f27.tar.xz |
Add whitespace settings to .gitattributes and add commit hook script.
Run "bash scripts/gitsetup.sh" to set up the hooks after cloning.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index 3149f93d..10605e3d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,13 @@ -* text=auto +# Macros: +[attr]tabs whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=4 +[attr]spaces whitespace=trailing-space,space-before-tab,tabs-in-indent + +# Files: +* text=auto +Make* tabs +*.mk tabs +*.[ch] tabs +*.java tabs +*.xml tabs +memento.* spaces +*.vcxproj* spaces |