]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Add comment.
[config/dotfiles.git] / gitconfig.m4
index b452b6855abdfc50d2b0810572306d199a871e53..970014fc564b5c63c7120282bc3cb51103a86fe4 100644 (file)
@@ -13,11 +13,13 @@ include(../lib.m4)
 
 [core]
        editor = vim
+       # Can't use ~/ because of older git versions.
        excludesfile = GITIGNORE
 
+# Use pager for the following commands.
 [pager]
-       # Use pager with git status.
        status = yes
+       clean = yes
 
 [alias]
        # Shortcuts for often used commands.
@@ -36,6 +38,7 @@ include(../lib.m4)
        me = merge
        f  = fetch
        fe = fetch
+       t  = tag
        p  = push
        pu = push
        # Custom commands.
@@ -57,4 +60,9 @@ IF(OS, debian)
        tool = vimdiff
 FI
 
+[format]
+       # When using git format-patch use threads and add all patches as
+       # replies to the first one.
+       thread = shallow
+
 # vim: ft=gitconfig