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