1. 8
  1.  

  2. 3

    git-duet offers similar functionality to this, but takes advantage of existing git fields so tools like github correctly display both authors.

    1. 1

      Not a bad idea. I wonder how this would work with a signed commits.

      1. 1

        The raw form of a signed commit is just:

        tree 394a2453c460d659630a98bbfb7210c187af24f7
        parent 80e82aa956703194aab9c53fb9e050755b459f21
        author Daniel Heath <daniel@heath.cc> 1460596886 +1000
        committer Daniel Heath <daniel@heath.cc> 1460596886 +1000
        gpgsig -----BEGIN PGP SIGNATURE-----
         Version: GnuPG v1
        <snip>
         -----END PGP SIGNATURE-----
        
        Commit Message
        

        I see no reason you couldn’t have a second gpgsig block to dual-sign the commit. I doubt any of the tools know how to read it though, and you would presumably prefer not to have both keys on the same computer.

        It would probably work better to have each contributor sign & push a tag.