]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Automatically detect copies and renames.
[config/dotfiles.git] / gitconfig.m4
index 22b61d17ecf6f58a244a77f14c2b804f71668e27..b8fd3b666f1c9164f00d8e339c0db8b7b401359a 100644 (file)
@@ -26,8 +26,8 @@ include(../lib.m4)
        l  = log
        a  = add
        co = checkout
-       b  = branch
-       br = branch
+       b  = branch -av
+       br = branch -av
        m  = merge
        me = merge
        f  = fetch
@@ -41,6 +41,10 @@ include(../lib.m4)
        sa = stash apply
        sl = stash list
 
+[diff]
+       # Detect copies and renames.
+       renames = copy
+
 [merge]
 IF(OS, darwin)
        tool = opendiff