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