# -*- conf -*- [color] ui = auto # Everything in glorious colour! [column] ui = auto, dense [core] compression = 9 # Sacrifice speed for compression. preloadindex = true # Reduce I/O latency on NFS. excludesfile = ~/.gitignore.global # Override the global pager default of w3m / less -SRc. When using # git, w3m's inability to rewind very long (million line) # streams is a serious problem. pager = less -+$LESS -SRFXc # FIXME: beware of http://bugs.debian.org/663338 whitespace = space-before-tab, tab-in-indent, trailing-space, cr-at-eol # I can't say "git, don't let me commit whitespace errors". # apply.whitespace=error only triggers when rebasing: TOO LATE. # It can be done with hooks, but they're per-repo, not per-user. # --twb, Aug 2014 [apply] whitespace = warn [diff] mnemonicprefix = true algorithm = histogram [fetch] prune = true [interactive] singlekey = true [log] abbrevCommit = true #date = relative # I'm rather ambivalent about this one. decorate = true mailmap = true [merge] tool = emerge [mergetool] prompt = false [rebase] autosquash = true autostash = true [status] short = true branch = true submodulesummary = true # I don't know why this is here. # I speculate that sometime between git 1.7 and git 2.0, # git suggested I set it. It's the default as at git 2.0. # --twb, Aug 2014 [pull] ff = true # This is amazingly amazing. [rerere] enabled = true # This assumes tig2; it confuses tig1. [tig] commit-order = topo line-graphics = utf-8 vertical-split = false # Mostly default except to show id & shorten date/author. main-view = id date:short author:width:32 commit-title:yes,graph,refs tree-view = mode author:width:3 file-size:units date:short id file-name blame-view = date:short author:width:3 file-name:auto id:yes,color text refs-view = date:short author:width:3 id ref commit-title # Mimic excessive colors in GNU grep --color. [color "grep"] filename = magenta linenumber = green # On a white-on-black terminal, looks "dimmer" than normal text, # so "function" line stands out. context = reverse black white selected = reverse black white