Re: [PATCH v1 8/8] sequencer: try to commit without forking 'git commit'

2017-11-07 Thread Johannes Schindelin
Hi Phillip, On Tue, 7 Nov 2017, Phillip Wood wrote: > On 07/11/17 01:36, Johannes Schindelin wrote: > > > > On Mon, 6 Nov 2017, Phillip Wood wrote: > > > >> From: Phillip Wood > >> > >> +static int try_to_commit(struct strbuf *msg, const char *author, > >> + struct replay_opt

Re: [PATCH v1 8/8] sequencer: try to commit without forking 'git commit'

2017-11-07 Thread Phillip Wood
On 07/11/17 01:36, Johannes Schindelin wrote: > Hi Phillip, > > On Mon, 6 Nov 2017, Phillip Wood wrote: > >> From: Phillip Wood >> >> If the commit message does not need to be edited then create the >> commit without forking 'git commit'. Taking the best time of ten runs >> with a warm cache thi

Re: [PATCH v1 8/8] sequencer: try to commit without forking 'git commit'

2017-11-06 Thread Johannes Schindelin
Hi Phillip, On Mon, 6 Nov 2017, Phillip Wood wrote: > From: Phillip Wood > > If the commit message does not need to be edited then create the > commit without forking 'git commit'. Taking the best time of ten runs > with a warm cache this reduces the time taken to cherry-pick 10 > commits by 27

[PATCH v1 8/8] sequencer: try to commit without forking 'git commit'

2017-11-06 Thread Phillip Wood
From: Phillip Wood If the commit message does not need to be edited then create the commit without forking 'git commit'. Taking the best time of ten runs with a warm cache this reduces the time taken to cherry-pick 10 commits by 27% (from 282ms to 204ms), and the time taken by 'git rebase --conti