From: Mark Wooding Date: Sun, 11 Aug 2013 01:08:00 +0000 (+0100) Subject: dot/gitconfig.in, git/attributes: Some basic whitespace management. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/37dfb719b94f10e813aacd0ee2f26207c3e6e91c dot/gitconfig.in, git/attributes: Some basic whitespace management. --- diff --git a/dot/gitconfig.in b/dot/gitconfig.in index 731bbba..47fa392 100644 --- a/dot/gitconfig.in +++ b/dot/gitconfig.in @@ -5,6 +5,7 @@ filemode = true excludesfile = @profile@/git/gitignore attributesfile = @profile@/git/attributes + whitespace = trailing-space,space-before-tab,indent-with-non-tab [user] name = Mark Wooding diff --git a/git/attributes b/git/attributes index 1bbda79..858068d 100644 --- a/git/attributes +++ b/git/attributes @@ -3,3 +3,5 @@ *.el diff=lisp .emacs diff=lisp *.lisp diff=lisp + +*.py whitespace=trailing-space,space-before-tab,tab-in-indent