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