git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git am and duplicate signatures
@ 2016-08-30 16:12 Joe Perches
  2016-08-30 16:54 ` Junio C Hamano
  0 siblings, 1 reply; 11+ messages in thread
From: Joe Perches @ 2016-08-30 16:12 UTC (permalink / raw)
  To: git

git-am -s will avoid duplicating the last signature
in a patch.

But given a developer creates a patch, send it around for
acks/other signoffs, collects signatures and then does
a git am -s on a different branch, this sort of sign-off
chain is possible:

	Signed-off-by: Original Developer <od@domain.com>
	Acked-by: Random Developer <rd@domain.com>
	Signed-off-by: Original Developer <od@domain.com>

Should there be an option to avoid duplicate signatures
in a sequence where an author can git-am the same patch?

sequencer.c:append_signoff() has a flag for APPEND_SIGNOFF_DEDUP

sequencer.c:void append_signoff(struct strbuf *msgbuf, int ignore_footer, unsigned flag)

but

builtin/commit.c:               append_signoff(&sb, ignore_non_trailer(&sb), 0);

doesn't have an optional use mechanism available.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-08-30 19:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30 16:12 git am and duplicate signatures Joe Perches
2016-08-30 16:54 ` Junio C Hamano
2016-08-30 17:07   ` Joe Perches
2016-08-30 17:37     ` Junio C Hamano
2016-08-30 17:26   ` Joe Perches
2016-08-30 17:34     ` Junio C Hamano
2016-08-30 17:41       ` Joe Perches
2016-08-30 17:49         ` Joe Perches
2016-08-30 18:17           ` Junio C Hamano
2016-08-30 18:21             ` Joe Perches
2016-08-30 19:00               ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).