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