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