Whitespace fixing.
[profile] / gitconfig
index ade16c4..3d2a12c 100644 (file)
--- a/gitconfig
+++ b/gitconfig
@@ -1,3 +1,6 @@
+### -*-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 \
@@ -75,5 +79,5 @@
        signedoffcc = yes
 
 [gui]
-       fontui = -family sans -size 10
-       fontdiff = -family monospace -size 10
+       fontui = -family Sans -size 10
+       fontdiff = -family MiscFixed6x13 -size 10