From: Victor Leschuk Date: Tue, 15 Dec 2015 15:31:39 +0000 (+0300) Subject: grep: slight refactoring to the code that disables threading X-Git-Tag: v2.8.0-rc0~125^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/044b1f3cb4ff09551f6c514ed02edafa6c4987b0?hp=044b1f3cb4ff09551f6c514ed02edafa6c4987b0 grep: slight refactoring to the code that disables threading When show-in-pager option is used, threading is unconditionally disabled, but this happened much earlier than the code that determines the use of threading based on the operand (i.e. we do not thread search in the object database). Consolidate the code to disable threading to just one place. Signed-off-by: Victor Leschuk Signed-off-by: Junio C Hamano ---