The git release alias had become mouldy, and didn't work properly when
tagging historical releases.
New git space command warns about whitespace snafus.
+### -*-conf-*-
+### Git configuration
+
[core]
filemode = true
excludesfile = @gitignore@
patch = "format-patch -o p -s"
release = !"sh -e -c ' \
[ $# -gt 0 ] || { \
- echo >&2 \"usage: git release [OPTS] TAG\"; \
+ echo >&2 \"usage: git release TAG [OPTS]\"; \
exit 1; \
}; \
- ver=$(eval echo \"\\$$#\"); \
- git tag -as -m \"Release $ver.\" \"$@\"' release"
+ git tag -as -m \"Release $1.\" \"$@\"' release"
amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
+ spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
+ xargs -0r space -cv' spaces"
mailto = "send-email \
--quiet \
--no-chain-reply-to \