1 Jun 2006 01:16
Re: [PATCH] format-patch --signoff
Junio C Hamano <junkio <at> cox.net>
2006-05-31 23:16:12 GMT
2006-05-31 23:16:12 GMT
Johannes Schindelin <Johannes.Schindelin <at> gmx.de> writes:
> I don't know, but it may be a good idea to make this more general: Why not
> build the sign-off line here, so that you could also add more than one
> sign-off lines ('--signoff="The great committer <ter <at> mit.com>"'), and
> maybe even Acked-by's?
Perhaps.
> Okay, this would be a little harder with multiple sign-offs. But the check
> could be easier, i.e. if we say
>
> rev.add_signoff = xmalloc(enough_room);
> strcpy(rev.add_signoff, "\nSigned-off-by: ");
> strcat(rev.add_signoff, committer_ident);
> strcat(rev.add_signoff, "\n");
>
> then a simple
>
> p = strstr(commit_buffer, rev.add_signoff);
> if (p)
> return (int)(p - commit_buffer);
>
> would do the trick.
Do you mean, by "multiple sign-offs", something like this?
for (so_list = rev.add_signoff; so_list; so_list = so_list->next) {
if (strstr(commit_buffer, so_list->item))
continue;
(Continue reading)
>
> cheers,
>
>
> martin
After reading the whole thread on this, I've using a git checkout of
git, cvsps-2.1 and cvs-1.11.12, running overnight in verbose mode with
screen. Hopefully will have a repo in the morning ;)
RSS Feed