dot/bashrc: Unset temporary variables used in constructing the prompt.
[profile] / dot / gitconfig.in
... / ...
CommitLineData
1### -*-conf-*-
2### Git configuration
3
4[core]
5 filemode = true
6 excludesfile = @profile@/git/gitignore
7 attributesfile = @profile@/git/attributes
8 whitespace = trailing-space,space-before-tab,indent-with-non-tab
9
10[user]
11 name = Mark Wooding
12 email = mdw@distorted.org.uk
13 signingkey = @releasekey@
14
15[merge]
16 summary = true
17 tool = emerge
18
19[mergetool "emerge"]
20 path = emerge-hack
21
22[diff]
23 renames = copies
24 renameLimit = 1024
25 wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
26
27[diff "lisp"]
28 xfuncname = "^((\\(|\\s*\\(def).*$)"
29
30[log]
31 date = rfc
32 decorate = true
33
34[rebase]
35 autosquash = true
36
37[format]
38 headers = "Organization: Straylight/Edgeware\n"
39
40[color]
41 ui = auto
42
43[color "diff"]
44 plain = normal
45 meta = bold
46 new = green
47 old = red
48 commit = bold yellow
49 whitespace = reverse red
50
51[color "interactive"]
52 prompt = bold yellow
53 header = bold
54 help = green
55 error = bold red
56
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
68[color "grep"]
69 external = --color=always
70
71[alias]
72 egrep = "grep -E"
73 patch = "format-patch -o p -s"
74 graph = "log --pretty=oneline --abbrev-commit --graph"
75 release = !"sh -e -c ' \
76 [ $# -gt 0 ] || { \
77 echo >&2 \"usage: git release TAG [OPTS]\"; \
78 exit 1; \
79 }; \
80 git tag -as -m \"Release $1.\" \"$@\"' release"
81 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
82 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
83 xargs -0r space -cv' spaces"
84 mailto = "send-email \
85 --quiet \
86 --no-chain-reply-to \
87 --no-signed-off-by-cc \
88 --to"
89 files = "ls-files --exclude-standard"
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"
101
102[rerere]
103 enabled = yes
104 autoupdate = yes
105
106[stgit]
107 autoresolved = yes
108 smtpdelay = 0
109
110[mail "alias"]
111 git = git@vger.kernel.org
112 mdw = mdw@distorted.org.uk
113
114[sendemail]
115 from = Mark Wooding <mdw@distorted.org.uk>
116 aliasesfile = @profile@/dot/mailrc
117 aliasfiletype = mailrc
118 chainreplyto = no
119 signedoffbycc = yes
120 suppresscc = self
121
122[gui]
123 fontui = -family Sans -size 10
124 fontdiff = -family MiscFixed6x13 -size 10