Commit 044b1f3
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 <vleschuk@accesssoftek.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent b6b468b commit 044b1f3
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
804 | | - | |
805 | 804 | | |
806 | 805 | | |
807 | 806 | | |
| |||
832 | 831 | | |
833 | 832 | | |
834 | 833 | | |
835 | | - | |
| 834 | + | |
836 | 835 | | |
837 | 836 | | |
838 | 837 | | |
| |||
0 commit comments