bin/diff-filter: Support session-level disable flag
[dotfiles.git] / .gitconfig
index 192bcbe64ebaeed509f439360c976a321bb9086a..b783b86cae0d80749bb2c831efd9839a24e93bd1 100644 (file)
        out          = !git-outgoing
        # Branch helpers
        bd           = !git-branch-dates
-       bv           = !git branch --color -vv
+       bv           = !git-branch-dates -v
        cv           = !git-cherry-view
        # Diff helpers
-       df           = diff --patience
-       dfc          = diff --patience --cached
-       dfw          = diff --patience --word-diff=plain
+       df           = diff
+       dfc          = diff --cached
+       dfw          = diff --word-diff=color
+       dfcw         = diff --cached --word-diff=color
        # Searching
        ls           = ls-files
        ack          = !git-ack
        root         = rev-parse --show-toplevel
        who          = shortlog -s --
        fp           = format-patch --stdout
+       patch        = !git --no-pager diff --no-color
 
 [core]
        filemode = true
        logallrefupdates = true
        whitespace = space-before-tab, trailing-space
-       excludesfile = ~/.gitignore_global
+       excludesfile = ~/.gitfiles/gitignore-global
+       attributesfile = ~/.gitfiles/gitattributes-global
+       pager = diff-pager
+
+[interactive]
+       diffFilter = diff-filter
 
 [diff]
        renames = copies
+       algorithm  = patience
 
 [sendemail]
        smtpserver = smtp.gmail.com
@@ -53,6 +61,7 @@
        ui = auto
 
 [color "diff"]
+       plain = 241
        meta = blue bold
        frag = magenta bold
        old = red bold
        remote = green
        plain = red bold
 
+[color "decorate"]
+       branch = green bold
+       remoteBranch = green
+
 [color "status"]
        added = yellow
        changed = green bold
        untracked = blue bold
 
+[color "diff-highlight"]
+       oldNormal = nobold
+       oldHighlight = red bold 235
+       newNormal = nobold
+       newHighlight = green bold black
+
 [push]
        default = matching
+
+[include]
+       path = .gitconfig.local