[PATCH v3 0/2] grep: add fallbackToNoIndex config option
- From
Thomas Gummerer <t.gummerer@gmail.com>
- Date
- Jan 11, 2016, 21:26 UTC
- Message-ID
- <1452547580-30687-1-git-send-email-t.gummerer@gmail.com>
- In-Reply-To
- <1452435597-12099-1-git-send-email-t.gummerer@gmail.com>
Previous rounds are at $gmane/283619 and $gmane/283670. Thanks to Junio and Peff for the input after the last round.
After the discussion I decided to drop the --use-index command line argument, and use a fallbackToNoIndex config option instead. In addition I dropped the second patch, keeping the use_index name for the variable used to keep track which mode should be used.
Thomas Gummerer (2): t7810: correct --no-index test builtin/grep: add grep.fallbackToNoIndex config
Documentation/config.txt | 4 ++++ Documentation/git-grep.txt | 4 ++++ builtin/grep.c | 23 +++++++++++++++++----- t/t7810-grep.sh | 49 ++++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 71 insertions(+), 9 deletions(-)
-- 2.7.0.2.gafd9bce.dirty