From 45d8947cde3849aecdc1d5af6b252b86121deec4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 13 Apr 2013 03:39:12 +0200 Subject: [PATCH] gitattributes: Add, global Git attributes file. Also use it in gitconfig. --- gitattributes | 19 +++++++++++++++++++ gitconfig.m4 | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 gitattributes diff --git a/gitattributes b/gitattributes new file mode 100644 index 0000000..e1a6cab --- /dev/null +++ b/gitattributes @@ -0,0 +1,19 @@ +# Global Git configuration file for attributes. + +# Copyright (C) 2013 Simon Ruderich +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +*.pdf diff=pdf diff --git a/gitconfig.m4 b/gitconfig.m4 index ff77b2b..75cd327 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -42,6 +42,9 @@ include(../lib.m4) [core] editor = vim + # Global gitattributes file. Thanks to canton7 in #git on Freenode + # (2011-11-09 13:23 CET). + attributesfile = PWD/gitattributes # Use pager for the following commands. [pager] -- 2.44.1