dot/gitconfig.in: Change `lisp' diff-hunk header.
[profile] / dot / gitconfig.in
1 ### -*-conf-*-
2 ### Git configuration
3
4 [core]
5 filemode = true
6 excludesfile = @profile@/git/gitignore
7
8 [user]
9 name = Mark Wooding
10 email = mdw@distorted.org.uk
11 signingkey = @releasekey@
12
13 [merge]
14 summary = true
15 tool = emerge
16
17 [mergetool "emerge"]
18 path = emerge-hack
19
20 [diff]
21 renames = copies
22 wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
23
24 [diff "lisp"]
25 xfuncname = "^((\\(|\\s*\\(def).*$)"
26
27 [log]
28 date = rfc
29 decorate = true
30
31 [rebase]
32 autosquash = true
33
34 [format]
35 headers = "Organization: Straylight/Edgeware\n"
36
37 [color]
38 ui = auto
39
40 [color "diff"]
41 plain = normal
42 meta = bold
43 new = green
44 old = red
45 commit = bold yellow
46 whitespace = reverse red
47
48 [color "interactive"]
49 prompt = bold yellow
50 header = bold
51 help = green
52 error = bold red
53
54 [color "status"]
55 header = bold
56 added = bold green
57 changed = bold blue
58 untracked = bold red
59
60 [color "branch"]
61 current = bold
62 local = normal
63 remote = cyan
64
65 [color "grep"]
66 external = --color=always
67
68 [alias]
69 egrep = "grep -E"
70 patch = "format-patch -o p -s"
71 graph = "log --pretty=oneline --abbrev-commit --graph"
72 release = !"sh -e -c ' \
73 [ $# -gt 0 ] || { \
74 echo >&2 \"usage: git release TAG [OPTS]\"; \
75 exit 1; \
76 }; \
77 git tag -as -m \"Release $1.\" \"$@\"' release"
78 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
79 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
80 xargs -0r space -cv' spaces"
81 mailto = "send-email \
82 --quiet \
83 --no-chain-reply-to \
84 --no-signed-off-by-cc \
85 --to"
86 files = "ls-files --exclude-standard"
87 unstg = !"sh -e -c ' \
88 : ${GIT_DIR=$(git rev-parse --git-dir)}; \
89 if [ $# -eq 0 ]; then set -- \"$(stg branch)\"; fi; \
90 for branch; do \
91 rmdir \"$GIT_DIR/patches/$branch/patches\"; \
92 rm -rf \"$GIT_DIR/patches/$branch\"; \
93 git for-each-ref -s \
94 --format \"git update-ref -d %(refname) %(objectname)\" \
95 \"refs/patches/$branch\" \"refs/bases/$branch\" | \
96 sh -e; \
97 done' unstg"
98
99 [rerere]
100 enabled = yes
101 autoupdate = yes
102
103 [stgit]
104 autoresolved = yes
105 smtpdelay = 0
106
107 [mail "alias"]
108 git = git@vger.kernel.org
109 mdw = mdw@distorted.org.uk
110
111 [sendemail]
112 from = Mark Wooding <mdw@distorted.org.uk>
113 aliasesfile = @profile@/dot/mailrc
114 aliasfiletype = mailrc
115 chainreplyto = no
116 signedoffbycc = yes
117 suppresscc = self
118
119 [gui]
120 fontui = -family Sans -size 10
121 fontdiff = -family MiscFixed6x13 -size 10