Skip to content

Commit

Permalink
completion: add --thread=deep/shallow to format-patch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Boyd authored and Junio C Hamano committed Mar 25, 2009
1 parent 3f7df3a commit e1d3793
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1d3793

Please sign in to comment.