From 827e9c0dfd4320058a35c1672dd823b5e4ce3ca4 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 4 Dec 2019 15:23:51 +0300 Subject: [PATCH] git: ++attributes, ++diffs --- .gitattributes | 1 + etc/soft/git/gitconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6f33cd4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.plist diff=plist diff --git a/etc/soft/git/gitconfig b/etc/soft/git/gitconfig index f34458a..2608449 100644 --- a/etc/soft/git/gitconfig +++ b/etc/soft/git/gitconfig @@ -32,6 +32,22 @@ [gc] writeCommitGraph = true +# ----[ DIFF METHODS ]-------------------------------------------------------- + +[diff "plist"] + textconv = plutil -p + +[diff "pdf"] + textconv = pdfinfo + +[diff "png"] + textconv = exiftool + +[diff "jpg"] + textconv = exiftool + +# ----[ ALIASES ]-------------------------------------------------------- + [alias] # ----[ COMMON ]--------------------------------------------------------