summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorVictor Leschuk <vleschuk@gmail.com>2015-12-15 18:31:39 +0300
committerJunio C Hamano <gitster@pobox.com>2015-12-16 12:03:23 -0800
commit89f09dd34e613394c749f69ddd74adc90cb034ca (patch)
tree3c471629f10a2ee95fde7ebbb165ac5466d0cf6a /contrib
parent044b1f3cb4ff09551f6c514ed02edafa6c4987b0 (diff)
downloadgit-89f09dd34e613394c749f69ddd74adc90cb034ca.tar.gz
grep: add --threads=<num> option and grep.threads configurationvl/grep-configurable-threads
"git grep" can now be configured (or told from the command line) how many threads to use when searching in the working tree files. Signed-off-by: Victor Leschuk <vleschuk@accesssoftek.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 482ca84b45..390d9c04c0 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1310,6 +1310,7 @@ _git_grep ()
--full-name --line-number
--extended-regexp --basic-regexp --fixed-strings
--perl-regexp
+ --threads
--files-with-matches --name-only
--files-without-match
--max-depth