emacs: Keep the bookmarks file up to date.
[profile] / gitconfig
index d898e71..474becc 100644 (file)
--- a/gitconfig
+++ b/gitconfig
@@ -1,14 +1,74 @@
+[core]
+       filemode = true
+       excludesfile = @gitignore@
+
 [user]
        name = Mark Wooding
-       email = <mdw@distorted.org.uk>
+       email = mdw@distorted.org.uk
+       signingkey = @releasekey@
 
 [merge]
        summary = true
+       tool = emerge
+
+[mergetool "emerge"]
+       path = emerge-hack
 
 [diff]
        renames = copies
 
+[format]
+       headers = "Organization: Straylight/Edgeware\n"
+
 [color]
        diff = auto
        status = auto
        branch = auto
+
+[color "diff"]
+       plain = normal
+       meta = bold
+       new = green
+       old = red
+       commit = bold yellow
+       whitespace = reverse red
+
+[color "status"]
+       header = bold
+       added = bold green
+       changed = bold blue
+       untracked = bold red
+
+[color "branch"]
+       current = bold
+       local = normal
+       remote = cyan
+
+[alias]
+       egrep = "grep -E"
+       patch = "format-patch -o p -s"
+       release = !"sh -e -c ' \
+               [ $# -gt 0 ] || { \
+                 echo >&2 \"usage: git release [OPTS] TAG\"; \
+                 exit 1; \
+               }; \
+               ver=$(eval echo \"\\$$#\"); \
+               git tag -as -m \"Release $ver.\" \"$@\"' release"
+       amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
+       mailto = "send-email \
+                       --quiet \
+                       --no-chain-reply-to \
+                       --no-signed-off-by-cc \
+                       --to"
+
+[stgit]
+       autoresolved = yes
+       smtpdelay = 0
+
+[mail "alias"]
+       git = git@vger.kernel.org
+       mdw = mdw@distorted.org.uk
+
+[gui]
+       fontui = -family helvetica -size 11 -weight normal -slant roman -underline 0 -overstrike 0
+       fontdiff = -family fixed -size 10 -weight normal -slant roman -underline 0 -overstrike 0