dot/gitconfig.in: Add explicit `pull' setting.
[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
0e511e25 37 follow = true
a965d521 38 mailmap = true
3b73ac92 39
518aede4
MW
40[rebase]
41 autosquash = true
42
930a7d0f
MW
43[pull]
44 rebase = false
45
da0af0a9 46[push]
66cffbdc 47 default = upstream
67b5b0ce 48 followTags = true
da0af0a9 49
5d2b7dab
MW
50[format]
51 headers = "Organization: Straylight/Edgeware\n"
9ca6d190 52 from = Mark Wooding <@email@>
570c7b19
MW
53 coverletter = auto
54 thread = shallow
55 signature = "[mdw]"
9ca6d190 56 outputdirectory = p/
5d2b7dab 57
e818009e 58[color]
3b73ac92 59 ui = auto
5d2b7dab
MW
60
61[color "diff"]
62 plain = normal
63 meta = bold
8b6bc589
MW
64 new = green
65 old = red
5d2b7dab
MW
66 commit = bold yellow
67 whitespace = reverse red
68
49f353d7 69[color "interactive"]
726466db
MW
70 prompt = bold yellow
71 header = bold
72 help = green
73 error = bold red
49f353d7 74
5d2b7dab
MW
75[color "status"]
76 header = bold
77 added = bold green
78 changed = bold blue
79 untracked = bold red
80
81[color "branch"]
82 current = bold
83 local = normal
84 remote = cyan
85
1f39b1c7
MW
86[column]
87 ui = auto column dense
88
bd67e4dc 89[pager]
517b9a6d
MW
90 log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | mdw-pager
91 show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | mdw-pager
92 diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | mdw-pager
bd67e4dc 93
5d2b7dab 94[alias]
71c95f6f
MW
95 do = "!sh -e -c ' \
96 quiet=; \
97 case $#,$1 in 0, | *,*,*) ;; *,-q) quiet=--quiet; shift ;; esac; \
98 case $quiet in ?*) ;; *) echo \"Entering toplevel\" ;; esac; \
99 (name=\"<toplevel>\"; path=.; toplevel=$(pwd); \
100 sha1=$(git rev-parse HEAD); \
101 set +e; case $# in 1) eval \"$1\" ;; *) \"$@\" ;; esac); \
102 exec git submodule $quiet foreach --recursive \"$@\"' do"
5d2b7dab 103 egrep = "grep -E"
3b73ac92 104 graph = "log --pretty=oneline --abbrev-commit --graph"
7e2c05e9 105 release = !"sh -e -c ' \
cef39ac8 106 [ $# -gt 0 ] || { \
5622a4e0 107 echo >&2 \"usage: git release TAG [OPTS]\"; \
cef39ac8
MW
108 exit 1; \
109 }; \
5622a4e0 110 git tag -as -m \"Release $1.\" \"$@\"' release"
9cacd266
MW
111 catchup = !"perl -e ' \
112 use autodie qw(:all); \
113 if (@ARGV < 2) { \
114 print STDERR \"git catchup REMOTE REF ...\n\"; \
115 exit 2; \
116 } \
117 @c = (); $m = shift @ARGV; \
118 for my $r (@ARGV) { \
119 my ($p, $r) = $r =~ /^([+]*)(.*)$/; \
120 push @c, \"$p$m/$r:$r\"; \
121 } \
122 exec \"git\", \"push\", \".\", @c'"
6fc9ca84 123 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
5622a4e0
MW
124 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
125 xargs -0r space -cv' spaces"
9931fa54 126 files = "ls-files --exclude-standard"
307d3be5
MW
127 unstg = !"sh -e -c ' \
128 : ${GIT_DIR=$(git rev-parse --git-dir)}; \
129 if [ $# -eq 0 ]; then set -- \"$(stg branch)\"; fi; \
130 for branch; do \
131 rmdir \"$GIT_DIR/patches/$branch/patches\"; \
132 rm -rf \"$GIT_DIR/patches/$branch\"; \
133 git for-each-ref -s \
134 --format \"git update-ref -d %(refname) %(objectname)\" \
135 \"refs/patches/$branch\" \"refs/bases/$branch\" | \
136 sh -e; \
137 done' unstg"
f13876a5 138
f4daab03
MW
139[rerere]
140 enabled = yes
5ccb9ae3 141 autoupdate = yes
f4daab03 142
75d08fb2
MW
143[stgit]
144 autoresolved = yes
145 smtpdelay = 0
146
f13876a5
MW
147[mail "alias"]
148 git = git@vger.kernel.org
149 mdw = mdw@distorted.org.uk
547fb8af 150
560a4aa7 151[sendemail]
73165cde
MW
152 from = Mark Wooding <mdw@distorted.org.uk>
153 aliasesfile = @profile@/dot/mailrc
154 aliasfiletype = mailrc
560a4aa7 155 chainreplyto = no
6690f2cc 156 thread = no
73165cde
MW
157 signedoffbycc = yes
158 suppresscc = self
560a4aa7 159
619db0bb
MW
160[mailinfo]
161 scissors = true
162
ecaa0c5b 163[gui]
f444229a 164 fontui = -family Sans -size 10
a6780078 165 fontdiff = -family Fixed -size 13
e6a7e588
MW
166
167[http]
168 cookiefile = @home@/.gitcookies