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