aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2015-07-09 20:04:27 +0200
committerMathias Bynens <mathias@qiwi.be>2015-07-09 20:04:27 +0200
commitc31450229d943144e6e71a1435a02b94c2916af9 (patch)
tree5329ed8c0f5d596447629f02e702c57ee1f6e006
parent3a47ebe1faf72222b1915853a3ce093ac8908853 (diff)
downloaddotfiles-c31450229d943144e6e71a1435a02b94c2916af9.tar.gz
dotfiles-c31450229d943144e6e71a1435a02b94c2916af9.tar.bz2
dotfiles-c31450229d943144e6e71a1435a02b94c2916af9.zip
.gitconfig: Use `hexdump` to diff binary files
-rw-r--r--.gitconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 47bd74d..7a95a1a 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -126,6 +126,10 @@
# Detect copies as well as renames
renames = copies
+[diff "bin"]
+ # Use `hexdump` to diff binary files
+ textconv = hexdump -v -C
+
[help]
# Automatically correct and execute mistyped commands