Re: [PATCH 1/7] grep: move thread initialization a little lower

2017-02-14 Thread Brandon Williams
On 02/14, Jeff King wrote: > Originally, we set up the threads for grep before parsing > the non-option arguments. In 53b8d931b (grep: disable > threading in non-worktree case, 2011-12-12), the thread code > got bumped lower in the function because it now needed to > know whether we got any

[PATCH 1/7] grep: move thread initialization a little lower

2017-02-13 Thread Jeff King
Originally, we set up the threads for grep before parsing the non-option arguments. In 53b8d931b (grep: disable threading in non-worktree case, 2011-12-12), the thread code got bumped lower in the function because it now needed to know whether we got any revision arguments. That put a big block