dot/gitconfig.in: Various cosmetic tweaks.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 5 Dec 2011 23:21:49 +0000 (23:21 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Dec 2011 23:21:49 +0000 (23:21 +0000)
  * Use RFC822 date format rather than the default in logs.

  * Decorate logs with ref names.

  * New alias for drawing a convenient commit graph.

dot/gitconfig.in

index f39a5fa..78672d1 100644 (file)
 [diff "lisp"]
        xfuncname = "^\\s*\\(def.*$"
 
+[log]
+       date = rfc
+       decorate = true
+
 [format]
        headers = "Organization: Straylight/Edgeware\n"
 
 [color]
-       diff = auto
-       status = auto
-       branch = auto
-       interactive = auto
-       grep = auto
+       ui = auto
 
 [color "diff"]
        plain = normal
@@ -64,6 +64,7 @@
 [alias]
        egrep = "grep -E"
        patch = "format-patch -o p -s"
+       graph = "log --pretty=oneline --abbrev-commit --graph"
        release = !"sh -e -c ' \
                [ $# -gt 0 ] || { \
                  echo >&2 \"usage: git release TAG [OPTS]\"; \