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