chiark / gitweb /
dot/gitconfig.in: Force the `from' address on Git patches.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 9 Sep 2019 17:25:56 +0000 (18:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 9 Sep 2019 17:25:56 +0000 (18:25 +0100)
I don't think it's right to sign other people up for email just because
I'm presenting their patches upstream.

Makefile
dot/gitconfig.in

index 85978ddb6140c2d65a90e882fd99d7af392e8e02..b6b577432b0d2036eaafedf29c2ec423506c964a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -181,7 +181,8 @@ DOTSUBST            += .gitconfig
 SCRIPTLINKS            += git-copyright-dates
 DOTLINKS               += .cgrc .tigrc
 .gitconfig_SUBSTS       = \
-       $(call substvar,releasekey,$(call mdw-conf,releasekey,481334C2))
+       $(call substvar,releasekey,$(call mdw-conf,releasekey,481334C2)) \
+       $(call substvar,email,$(call mdw-conf,email,mdw@distorted.org.uk))
 $(HOME)/.gitconfig: $(HOME)/.mdw.conf
 
 ## PulseAudio.
index c024465a8ecf56cd38d8da6c034115ec36e13936..0ce73d35bfb5949ae9fd17be5920f74a00b56beb 100644 (file)
 
 [format]
        headers = "Organization: Straylight/Edgeware\n"
+       from = Mark Wooding <@email@>
        coverletter = auto
        thread = shallow
        signature = "[mdw]"
+       outputdirectory = p/
 
 [color]
        ui = auto