chiark / gitweb /
dit/gitconfig.in: Explicitly request matching-refs push.
[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 [merge]
16         summary = true
17         tool = emerge
18
19 [mergetool "emerge"]
20         path = emerge-hack
21
22 [diff]
23         renames = copies
24         renameLimit = 1024
25         wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
26
27 [diff "lisp"]
28         xfuncname = "^((\\(|\\s*\\(def).*$)"
29
30 [log]
31         date = rfc
32         decorate = true
33
34 [rebase]
35         autosquash = true
36
37 [push]
38         default = matching
39
40 [format]
41         headers = "Organization: Straylight/Edgeware\n"
42
43 [color]
44         ui = auto
45
46 [color "diff"]
47         plain = normal
48         meta = bold
49         new = green
50         old = red
51         commit = bold yellow
52         whitespace = reverse red
53
54 [color "interactive"]
55         prompt = bold yellow
56         header = bold
57         help = green
58         error = bold red
59
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
71 [color "grep"]
72         external = --color=always
73
74 [alias]
75         egrep = "grep -E"
76         patch = "format-patch -o p -s"
77         graph = "log --pretty=oneline --abbrev-commit --graph"
78         release = !"sh -e -c ' \
79                 [ $# -gt 0 ] || { \
80                   echo >&2 \"usage: git release TAG [OPTS]\"; \
81                   exit 1; \
82                 }; \
83                 git tag -as -m \"Release $1.\" \"$@\"' release"
84         amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
85         spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
86                 xargs -0r space -cv' spaces"
87         mailto = "send-email \
88                         --quiet \
89                         --no-chain-reply-to \
90                         --no-signed-off-by-cc \
91                         --to"
92         files = "ls-files --exclude-standard"
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"
104
105 [rerere]
106         enabled = yes
107         autoupdate = yes
108
109 [stgit]
110         autoresolved = yes
111         smtpdelay = 0
112
113 [mail "alias"]
114         git = git@vger.kernel.org
115         mdw = mdw@distorted.org.uk
116
117 [sendemail]
118         from = Mark Wooding <mdw@distorted.org.uk>
119         aliasesfile = @profile@/dot/mailrc
120         aliasfiletype = mailrc
121         chainreplyto = no
122         signedoffbycc = yes
123         suppresscc = self
124
125 [gui]
126         fontui = -family Sans -size 10
127         fontdiff = -family Fixed -size 13