Re: [PATCH 06/11] sequencer.c: teach append_signoff how to detect duplicate s-o-b

2012-11-28 Thread Junio C Hamano
Brandon Casey writes: > +/* Returns 0 for non-conforming footer Please format it like this: /* * Returns 0 for ... > + * Returns 1 for conforming footer > + * Returns 2 when sob exists within conforming footer > + * Returns 3 when sob exists within conforming footer as last entry > + */ > +st

[PATCH 06/11] sequencer.c: teach append_signoff how to detect duplicate s-o-b

2012-11-25 Thread Brandon Casey
Teach append_signoff how to detect a duplicate s-o-b in the commit footer. This is in preparation to unify the append_signoff implementations in log-tree.c and sequencer.c. Fixes test in t3511. Signed-off-by: Brandon Casey --- builtin/commit.c | 2 +- sequencer.c | 43