git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] completion updates
@ 2009-03-23 10:26 Stephen Boyd
  2009-03-23 10:26 ` [PATCH 1/3] completion: add --annotate option to send-email Stephen Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2009-03-23 10:26 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

Stephen Boyd (3):
  completion: add --annotate option to send-email
  completion: add --cc and --no-attachment option to format-patch
  completion: add --thread=deep/shallow to format-patch

 contrib/completion/git-completion.bash |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] completion: add --annotate option to send-email
  2009-03-23 10:26 [PATCH 0/3] completion updates Stephen Boyd
@ 2009-03-23 10:26 ` Stephen Boyd
  2009-03-23 10:26   ` [PATCH 2/3] completion: add --cc and --no-attachment option to format-patch Stephen Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2009-03-23 10:26 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
---
 contrib/completion/git-completion.bash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 10e36a7..8719242 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1264,8 +1264,8 @@ _git_send_email ()
 	local cur="${COMP_WORDS[COMP_CWORD]}"
 	case "$cur" in
 	--*)
-		__gitcomp "--bcc --cc --cc-cmd --chain-reply-to --compose
-			--dry-run --envelope-sender --from --identity
+		__gitcomp "--annotate --bcc --cc --cc-cmd --chain-reply-to
+			--compose --dry-run --envelope-sender --from --identity
 			--in-reply-to --no-chain-reply-to --no-signed-off-by-cc
 			--no-suppress-from --no-thread --quiet
 			--signed-off-by-cc --smtp-pass --smtp-server
-- 
1.6.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] completion: add --cc and --no-attachment option to format-patch
  2009-03-23 10:26 ` [PATCH 1/3] completion: add --annotate option to send-email Stephen Boyd
@ 2009-03-23 10:26   ` Stephen Boyd
  2009-03-23 10:26     ` [PATCH 3/3] completion: add --thread=deep/shallow " Stephen Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2009-03-23 10:26 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
---
 contrib/completion/git-completion.bash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 8719242..b96458f 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -932,13 +932,13 @@ _git_format_patch ()
 	case "$cur" in
 	--*)
 		__gitcomp "
-			--stdout --attach --thread
+			--stdout --attach --no-attach --thread
 			--output-directory
 			--numbered --start-number
 			--numbered-files
 			--keep-subject
 			--signoff
-			--in-reply-to=
+			--in-reply-to= --cc=
 			--full-index --binary
 			--not --all
 			--cover-letter
-- 
1.6.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] completion: add --thread=deep/shallow to format-patch
  2009-03-23 10:26   ` [PATCH 2/3] completion: add --cc and --no-attachment option to format-patch Stephen Boyd
@ 2009-03-23 10:26     ` Stephen Boyd
  2009-03-23 14:11       ` Shawn O. Pearce
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2009-03-23 10:26 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
---
 contrib/completion/git-completion.bash |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index b96458f..1c6b0e2 100755
--- 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
-- 
1.6.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] completion: add --thread=deep/shallow to format-patch
  2009-03-23 10:26     ` [PATCH 3/3] completion: add --thread=deep/shallow " Stephen Boyd
@ 2009-03-23 14:11       ` Shawn O. Pearce
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn O. Pearce @ 2009-03-23 14:11 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: git

Stephen Boyd <bebarino@gmail.com> wrote:
> Signed-off-by: Stephen Boyd <bebarino@gmail.com>

All three patches...

Trivially-Acked-By: Shawn O. Pearce <spearce@spearce.org>

>  contrib/completion/git-completion.bash |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)

-- 
Shawn.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-23 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 10:26 [PATCH 0/3] completion updates Stephen Boyd
2009-03-23 10:26 ` [PATCH 1/3] completion: add --annotate option to send-email Stephen Boyd
2009-03-23 10:26   ` [PATCH 2/3] completion: add --cc and --no-attachment option to format-patch Stephen Boyd
2009-03-23 10:26     ` [PATCH 3/3] completion: add --thread=deep/shallow " Stephen Boyd
2009-03-23 14:11       ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).