From b179b88b9659eda769a4aaec76f9b270ee41c000 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 6 Nov 2016 12:43:50 +0100 Subject: [PATCH] gitconfig: enable diff.mnemonicprefix --- gitconfig.in | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.43.2