687ff9e1ad811ac9377c1cb6a98f06b3f7df12f8
[profile] / gitconfig
1 ### -*-conf-*-
2 ### Git configuration
3
4 [core]
5 filemode = true
6 excludesfile = @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 [format]
24 headers = "Organization: Straylight/Edgeware\n"
25
26 [color]
27 diff = auto
28 status = auto
29 branch = auto
30 interactive = auto
31 grep = auto
32
33 [color "diff"]
34 plain = normal
35 meta = bold
36 new = green
37 old = red
38 commit = bold yellow
39 whitespace = reverse red
40
41 [color "interactive"]
42 prompt = bold yellow
43 header = bold
44 help = green
45 error = bold red
46
47 [color "status"]
48 header = bold
49 added = bold green
50 changed = bold blue
51 untracked = bold red
52
53 [color "branch"]
54 current = bold
55 local = normal
56 remote = cyan
57
58 [color "grep"]
59 external = --color=always
60
61 [alias]
62 egrep = "grep -E"
63 patch = "format-patch -o p -s"
64 release = !"sh -e -c ' \
65 [ $# -gt 0 ] || { \
66 echo >&2 \"usage: git release TAG [OPTS]\"; \
67 exit 1; \
68 }; \
69 git tag -as -m \"Release $1.\" \"$@\"' release"
70 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
71 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
72 xargs -0r space -cv' spaces"
73 mailto = "send-email \
74 --quiet \
75 --no-chain-reply-to \
76 --no-signed-off-by-cc \
77 --to"
78 files = "ls-files --exclude-standard"
79 unstg = !"sh -e -c ' \
80 : ${GIT_DIR=$(git rev-parse --git-dir)}; \
81 if [ $# -eq 0 ]; then set -- \"$(stg branch)\"; fi; \
82 for branch; do \
83 rmdir \"$GIT_DIR/patches/$branch/patches\"; \
84 rm -rf \"$GIT_DIR/patches/$branch\"; \
85 git for-each-ref -s \
86 --format \"git update-ref -d %(refname) %(objectname)\" \
87 \"refs/patches/$branch\" \"refs/bases/$branch\" | \
88 sh -e; \
89 done' unstg"
90
91 [stgit]
92 autoresolved = yes
93 smtpdelay = 0
94
95 [mail "alias"]
96 git = git@vger.kernel.org
97 mdw = mdw@distorted.org.uk
98
99 [sendemail]
100 chainreplyto = no
101 signedoffcc = yes
102
103 [gui]
104 fontui = -family Sans -size 10
105 fontdiff = -family MiscFixed6x13 -size 10