chiark / gitweb /
dot/gitconfig.in: Remove output filename; force full indices.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 20 May 2018 19:13:28 +0000 (20:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 20 May 2018 19:13:28 +0000 (20:13 +0100)
The output filename can't be overridden because Git is too picky.  There
doesn't seem to be a different way to force full-length hashes in diff
indices.

dot/gitconfig.in

index 46d63354e763aefd0fa916d1c6ba18c2704fc360..5de53a6ad394ea02e6f2e02182291d06b1763d9e 100644 (file)
@@ -88,7 +88,7 @@
 
 [alias]
        egrep = "grep -E"
-       patch = "format-patch -o p -s"
+       patches = "format-patch --full-index"
        graph = "log --pretty=oneline --abbrev-commit --graph"
        release = !"sh -e -c ' \
                [ $# -gt 0 ] || { \