X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=gitconfig.in;h=00045f4951e2c0a9620e908643a1de0c51c07085;hb=b179b88b9659eda769a4aaec76f9b270ee41c000;hp=53dd50c671636edfca307d1dfddf87a65250c307;hpb=ec25198061f9a6e1e9b57007a359201258112abe;p=config%2Fdotfiles.git diff --git a/gitconfig.in b/gitconfig.in index 53dd50c..00045f4 100644 --- a/gitconfig.in +++ b/gitconfig.in @@ -97,6 +97,8 @@ re = rebase rei = rebase --interactive rec = rebase --continue + ## Submodules. + sm = submodule ## Remote. f = fetch t = tag @@ -170,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