From: Simon Ruderich Date: Sun, 6 Nov 2016 11:43:50 +0000 (+0100) Subject: gitconfig: enable diff.mnemonicprefix X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=b179b88b9659eda769a4aaec76f9b270ee41c000 gitconfig: enable diff.mnemonicprefix --- diff --git a/gitconfig.in b/gitconfig.in index 99ffe29..00045f4 100644 --- a/gitconfig.in +++ b/gitconfig.in @@ -172,6 +172,10 @@ # Diff algorithm to use. algorithm = histogram + # Replace "a/" and "b/" prefix in diffs with characters describing the + # context (e.g. "i/"ndex and "w/"ork tree). + mnemonicprefix = true + # Change the definition of a word as used by diff --color-words to be # shorter (not only spaces) and thus simplify the generated diffs. # Words ([a-zA-Z0-9_]+) are matched, or a single non-word character