X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=gitconfig.in;h=00045f4951e2c0a9620e908643a1de0c51c07085;hb=b179b88;hp=b498cc96452c2692cd53abeb262d2084b9c32acd;hpb=d53d2c400c779eeabd9bc3afd89b1069d6b2127b;p=config%2Fdotfiles.git diff --git a/gitconfig.in b/gitconfig.in index b498cc9..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 @@ -195,6 +201,8 @@ [log] # Display branches/tag names in log (same as log's --decorate option). decorate = short + # If a single file is given to `git log`, automatically use --follow. + follow = yes [merge] tool = vimdiff