6 excludesfile = @profile@/git/gitignore
7 attributesfile = @profile@/git/attributes
8 whitespace = trailing-space,space-before-tab,indent-with-non-tab
15 email = mdw@distorted.org.uk
16 signingkey = @releasekey@
35 wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
38 xfuncname = "^((\\(|\\s*\\(def).*$)"
57 headers = "Organization: Straylight/Edgeware\n"
58 from = Mark Wooding <@email@>
73 whitespace = reverse red
93 ui = auto column dense
96 diff = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager"
97 log = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager"
98 show = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager"
103 case $#,$1 in 0, | *,*,*) ;; *,-q) quiet=--quiet; shift ;; esac; \
104 case $quiet in ?*) ;; *) echo \"Entering toplevel\" ;; esac; \
105 (name=\"<toplevel>\"; path=.; toplevel=$(pwd); \
106 sha1=$(git rev-parse HEAD); \
107 set +e; case $# in 1) eval \"$1\" ;; *) \"$@\" ;; esac); \
108 exec git submodule $quiet foreach --recursive \"$@\"' do"
110 graph = "log --pretty=oneline --abbrev-commit --graph"
111 release = !"sh -e -c ' \
113 echo >&2 \"usage: git release TAG [OPTS]\"; \
116 git tag -as -m \"Release $1.\" \"$@\"' release"
117 catchup = !"perl -e ' \
118 use autodie qw(:all); \
120 print STDERR \"git catchup REMOTE REF ...\n\"; \
123 @c = (); $m = shift @ARGV; \
124 for my $r (@ARGV) { \
125 my ($p, $r) = $r =~ /^([+]*)(.*)$/; \
126 push @c, \"$p$m/$r:$r\"; \
128 exec \"git\", \"push\", \".\", @c'"
129 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
130 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
131 xargs -0r space -cv' spaces"
132 files = "ls-files --exclude-standard"
133 unstg = !"sh -e -c ' \
134 : ${GIT_DIR=$(git rev-parse --git-dir)}; \
135 if [ $# -eq 0 ]; then set -- \"$(stg branch)\"; fi; \
137 rmdir \"$GIT_DIR/patches/$branch/patches\"; \
138 rm -rf \"$GIT_DIR/patches/$branch\"; \
139 git for-each-ref -s \
140 --format \"git update-ref -d %(refname) %(objectname)\" \
141 \"refs/patches/$branch\" \"refs/bases/$branch\" | \
154 git = git@vger.kernel.org
155 mdw = mdw@distorted.org.uk
158 from = Mark Wooding <mdw@distorted.org.uk>
159 aliasesfile = @profile@/dot/mailrc
160 aliasfiletype = mailrc
170 fontui = -family Sans -size 10
171 fontdiff = -family Fixed -size 13
174 cookiefile = @home@/.gitcookies