Re: [PATCH v3 0/8] sequencer: don't fork git commit
- From
- Phillip Wood <phillip.wood@talktalk.net>
- Date
- Nov 18, 2017, 11:32 UTC
- Message-ID
- <61d0e704-b6f3-19de-b1cc-90f56b04229f@talktalk.net>
- In-Reply-To
- <xmqqvai8p7c7.fsf@gitster.mtv.corp.google.com>
On 18/11/17 03:57, Junio C Hamano wrote:
Show 20 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> Phillip Wood <phillip.wood@talktalk.net> writes: >> >>> From: Phillip Wood <phillip.wood@dunelm.org.uk> >>> >>> I've updated these based on the feedback for v2. I've dropped the >>> patch that stopped print_commit_summary() from dying as I think it is >>> better to die than return an error (see the commit message of the >>> patch that adds print_commit_summary() for the reasoning). Apart from >>> that they're minor changes - style fixes and a reworded a commit message. >> >> Thanks for further polishing this topic; I found nothing in the >> update that was questionable. Will replace. >> >> With this, perhaps it is ready for 'next'? > > Not really. I needed at least this to get it even compile, which > hints that I do not yet know what _else_ I missed by skimming this > round of the series.
Sorry I'm not sure what happened there, by branch has the missing 'res = ' something must have happened to the patches. I'll sort it out and resend
Phillip
Show 19 quoted lines
> sequencer.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sequencer.c b/sequencer.c > index 37460db6b1..63cfb6ddd9 100644 > --- a/sequencer.c > +++ b/sequencer.c > @@ -1139,8 +1139,8 @@ static int do_commit(const char *msg_file, const char *author, > unlink(git_path_cherry_pick_head()); > unlink(git_path_merge_msg()); > if (!is_rebase_i(opts)) > - res = print_commit_summary(NULL, &oid, > - SUMMARY_SHOW_AUTHOR_DATE); > + print_commit_summary(NULL, &oid, > + SUMMARY_SHOW_AUTHOR_DATE); > return res; > } > } >