reassign 451880 git git-core/1:1.5.3.5-1 found 451880 git/1:1.7.1-1 tags 451880 + upstream quit
Hi Josh, Josh Triplett wrote[1]: > I fairly often work on a commit with other people, and I want the > commit metadata to reflect that by showing multiple authors for one > commit. This has come up a few times recently[2][3][4], with the best workaround suggested being Andreas’s Co-authored-by: Some One <some....@example.foo> As you mentioned, emails are allowed to have multiple authors, and there is no reason in principle some faraway future git version could not similarly handle them: 1. Teach _everyone_ who parses git objects (in git.git and elsewhere) to process ‘coauthor’ lines after the committer line. Unlike the ‘author’ line, these would not have a date attached. 2. Teach ‘git fsck’ (and hence index-pack, etc) to warn about them but not error out. 3. Add a configuration variable to allow git to produce multiple-author commits. Such commits would make the repository unusable by versions of git without (1) and (2), so probably nobody would want to enable this for a while. Sounds doable but a lot of trouble. Maybe Nicolas Pitre or Shawn Pearce could say more if you want to pursue this. Alternatively, maybe format-patch, fast-import/fast-export, and am should cheat by processing Co-authored-by lines at the top of the final paragraph of the commit message themselves. BTW, thanks for all your work on git. Your bug reports are a lot of fun to read. What do you think? Jonathan [1] http://bugs.debian.org/451880 [2] http://thread.gmane.org/gmane.comp.version-control.git/83880 [3] http://thread.gmane.org/gmane.comp.version-control.git/146086/focus=146223 [4] http://thread.gmane.org/gmane.comp.version-control.git/146886 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org