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@
32 wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
35 xfuncname = "^((\\(|\\s*\\(def).*$)"
54 headers = "Organization: Straylight/Edgeware\n"
55 from = Mark Wooding <@email@>
70 whitespace = reverse red
90 ui = auto column dense
93 diff = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager"
94 log = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager"
95 show = "if type >/dev/null 2>&1 diff-highlight; then diff-highlight; else cat; fi | mdw-pager"
100 case $#,$1 in 0, | *,*,*) ;; *,-q) quiet=--quiet; shift ;; esac; \
101 case $quiet in ?*) ;; *) echo \"Entering toplevel\" ;; esac; \
102 (name=\"<toplevel>\"; path=.; toplevel=$(pwd); \
103 sha1=$(git rev-parse HEAD); \
104 set +e; case $# in 1) eval \"$1\" ;; *) \"$@\" ;; esac); \
105 exec git submodule $quiet foreach --recursive \"$@\"' do"
107 graph = "log --pretty=oneline --abbrev-commit --graph"
108 release = !"sh -e -c ' \
110 echo >&2 \"usage: git release TAG [OPTS]\"; \
113 git tag -as -m \"Release $1.\" \"$@\"' release"
114 catchup = !"perl -e ' \
115 use autodie qw(:all); \
117 print STDERR \"git catchup REMOTE REF ...\n\"; \
120 @c = (); $m = shift @ARGV; \
121 for my $r (@ARGV) { \
122 my ($p, $r) = $r =~ /^([+]*)(.*)$/; \
123 push @c, \"$p$m/$r:$r\"; \
125 exec \"git\", \"push\", \".\", @c'"
126 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
127 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
128 xargs -0r space -cv' spaces"
129 files = "ls-files --exclude-standard"
130 unstg = !"sh -e -c ' \
131 : ${GIT_DIR=$(git rev-parse --git-dir)}; \
132 if [ $# -eq 0 ]; then set -- \"$(stg branch)\"; fi; \
134 rmdir \"$GIT_DIR/patches/$branch/patches\"; \
135 rm -rf \"$GIT_DIR/patches/$branch\"; \
136 git for-each-ref -s \
137 --format \"git update-ref -d %(refname) %(objectname)\" \
138 \"refs/patches/$branch\" \"refs/bases/$branch\" | \
151 git = git@vger.kernel.org
152 mdw = mdw@distorted.org.uk
155 from = Mark Wooding <mdw@distorted.org.uk>
156 aliasesfile = @profile@/dot/mailrc
157 aliasfiletype = mailrc
167 fontui = -family Sans -size 10
168 fontdiff = -family Fixed -size 13
171 cookiefile = @home@/.gitcookies