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