summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Victor Leschuk <vleschuk@gmail.com>2015-12-15 18:31:39 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-12-16 12:03:23 -0800
commit89f09dd34e613394c749f69ddd74adc90cb034ca (patch)
tree3c471629f10a2ee95fde7ebbb165ac5466d0cf6a /contrib/completion
parentgrep: slight refactoring to the code that disables threading (diff)
downloadtgif-89f09dd34e613394c749f69ddd74adc90cb034ca.tar.xz
grep: add --threads=<num> option and grep.threads configuration
"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/completion')
-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