[PATCH] cherry-pick: Append -x line on separate paragraph

2012-09-04 Thread Robin Stocker
ions (JGit) don't always terminate the commit message with a newline, this change also inserts a second newline if necessary. Signed-off-by: Robin Stocker --- sequencer.c|4 t/t3511-cherry-pick-message.sh | 26 ++ 2 files changed, 30 i

Re: [PATCH] cherry-pick: Append -x line on separate paragraph

2012-09-05 Thread Robin Stocker
Junio C Hamano writes: > Robin Stocker writes: > > > if (opts->record_origin) { > > + /* Some implementations don't terminate message with final \n, so > > add it */ > > + if (msg.message[strlen(msg.message)-1] != '\n') > > + strb

Re: [PATCH] cherry-pick: Append -x line on separate paragraph

2012-09-08 Thread Robin Stocker
Junio C Hamano writes: > Robin Stocker writes: > > > Junio C Hamano writes: > >> Robin Stocker writes: > >> > >> > if (opts->record_origin) { > >> > + /* Some implementations don't terminate message with final