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