projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7df3a
)
completion: add --thread=deep/shallow to format-patch
author
Stephen Boyd
<bebarino@gmail.com>
Mon, 23 Mar 2009 10:26:51 +0000
(
03:26
-0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Mar 2009 02:17:33 +0000
(19:17 -0700)
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Trivially-Acked-By: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index b96458f2967ac256d6a11cc3accdb84ba464e91d..1c6b0e28eff43caea4d7078d18d196c6d36fbbd4 100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-930,9
+930,15
@@
_git_format_patch ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
+ --thread=*)
+ __gitcomp "
+ deep shallow
+ " "" "${cur##--thread=}"
+ return
+ ;;
--*)
__gitcomp "
- --stdout --attach --no-attach --thread
+ --stdout --attach --no-attach --thread
--thread=
--output-directory
--numbered --start-number
--numbered-files