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