summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-08-29 17:07:48 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-08-29 17:07:48 +0200
commitff82923a419f82304861906f36c223d4a782bdda (patch)
treeaa6f57f6c1ae19e405bc4cf8be31ffb395a7505f
parenta33968be140dba9c01125763328a716aab1ea9f3 (diff)
downloaddotfiles-ff82923a419f82304861906f36c223d4a782bdda.tar.gz
dotfiles-ff82923a419f82304861906f36c223d4a782bdda.tar.xz
fix git diff for php
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.gitattributes2
-rw-r--r--.gitconfig1
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..50b07dc
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+*.php diff=php
+
diff --git a/.gitconfig b/.gitconfig
index d2e3822..b998f0d 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -41,5 +41,6 @@
[core]
excludesfile = ~/.gitignore
compression = 9
+ attributesfile = ~/git/dotfiles/.gitattributes
[log]
decorate = full