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