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 | ||
518aede4 MW |
30 | [rebase] |
31 | autosquash = true | |
32 | ||
5d2b7dab MW |
33 | [format] |
34 | headers = "Organization: Straylight/Edgeware\n" | |
35 | ||
e818009e | 36 | [color] |
3b73ac92 | 37 | ui = auto |
5d2b7dab MW |
38 | |
39 | [color "diff"] | |
40 | plain = normal | |
41 | meta = bold | |
8b6bc589 MW |
42 | new = green |
43 | old = red | |
5d2b7dab MW |
44 | commit = bold yellow |
45 | whitespace = reverse red | |
46 | ||
49f353d7 MW |
47 | [color "interactive"] |
48 | prompt = bold yellow | |
49 | header = bold | |
50 | help = green | |
51 | error = bold red | |
52 | ||
5d2b7dab MW |
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 | ||
49f353d7 MW |
64 | [color "grep"] |
65 | external = --color=always | |
66 | ||
5d2b7dab MW |
67 | [alias] |
68 | egrep = "grep -E" | |
69 | patch = "format-patch -o p -s" | |
3b73ac92 | 70 | graph = "log --pretty=oneline --abbrev-commit --graph" |
7e2c05e9 | 71 | release = !"sh -e -c ' \ |
cef39ac8 | 72 | [ $# -gt 0 ] || { \ |
5622a4e0 | 73 | echo >&2 \"usage: git release TAG [OPTS]\"; \ |
cef39ac8 MW |
74 | exit 1; \ |
75 | }; \ | |
5622a4e0 | 76 | git tag -as -m \"Release $1.\" \"$@\"' release" |
6fc9ca84 | 77 | amend = !"env EDITOR=true VISUAL=true git commit --amend -a" |
5622a4e0 MW |
78 | spaces = !"sh -e -c 'git ls-files -z \"$@\"| \ |
79 | xargs -0r space -cv' spaces" | |
5d2b7dab MW |
80 | mailto = "send-email \ |
81 | --quiet \ | |
82 | --no-chain-reply-to \ | |
83 | --no-signed-off-by-cc \ | |
84 | --to" | |
9931fa54 | 85 | files = "ls-files --exclude-standard" |
307d3be5 MW |
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" | |
f13876a5 | 97 | |
f4daab03 MW |
98 | [rerere] |
99 | enabled = yes | |
100 | ||
75d08fb2 MW |
101 | [stgit] |
102 | autoresolved = yes | |
103 | smtpdelay = 0 | |
104 | ||
f13876a5 MW |
105 | [mail "alias"] |
106 | git = git@vger.kernel.org | |
107 | mdw = mdw@distorted.org.uk | |
547fb8af | 108 | |
560a4aa7 | 109 | [sendemail] |
73165cde MW |
110 | from = Mark Wooding <mdw@distorted.org.uk> |
111 | aliasesfile = @profile@/dot/mailrc | |
112 | aliasfiletype = mailrc | |
560a4aa7 | 113 | chainreplyto = no |
73165cde MW |
114 | signedoffbycc = yes |
115 | suppresscc = self | |
560a4aa7 | 116 | |
ecaa0c5b | 117 | [gui] |
f444229a MW |
118 | fontui = -family Sans -size 10 |
119 | fontdiff = -family MiscFixed6x13 -size 10 |