git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bash-completion: add --edit-description to choices for branch
@ 2012-02-06 17:03 Paul Gortmaker
  2012-02-06 23:25 ` Thomas Rast
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Gortmaker @ 2012-02-06 17:03 UTC (permalink / raw)
  To: git; +Cc: Paul Gortmaker

Support was recently added to allow storing a branch description,
so teach bash completion about it.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 78be195..a2965f7 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1152,7 +1152,7 @@ _git_branch ()
 		__gitcomp "
 			--color --no-color --verbose --abbrev= --no-abbrev
 			--track --no-track --contains --merged --no-merged
-			--set-upstream
+			--set-upstream --edit-description
 			"
 		;;
 	*)
-- 
1.7.9

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

* Re: [PATCH] bash-completion: add --edit-description to choices for branch
  2012-02-06 17:03 [PATCH] bash-completion: add --edit-description to choices for branch Paul Gortmaker
@ 2012-02-06 23:25 ` Thomas Rast
  2012-02-07  0:16   ` Paul Gortmaker
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Rast @ 2012-02-06 23:25 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: git

Paul Gortmaker <paul.gortmaker@windriver.com> writes:

> Support was recently added to allow storing a branch description,
> so teach bash completion about it.

See 48c07d8 (completion: --edit-description option for git-branch,
2012-01-29) which is already in next.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

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

* Re: [PATCH] bash-completion: add --edit-description to choices for branch
  2012-02-06 23:25 ` Thomas Rast
@ 2012-02-07  0:16   ` Paul Gortmaker
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2012-02-07  0:16 UTC (permalink / raw)
  To: Thomas Rast; +Cc: git

On 12-02-06 06:25 PM, Thomas Rast wrote:
> Paul Gortmaker <paul.gortmaker@windriver.com> writes:
> 
>> Support was recently added to allow storing a branch description,
>> so teach bash completion about it.
> 
> See 48c07d8 (completion: --edit-description option for git-branch,
> 2012-01-29) which is already in next.

OK thanks,  I did a quick google, didn't get any obvious
clues that it was done already, but must have missed it.

P.

> 

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

end of thread, other threads:[~2012-02-07  0:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 17:03 [PATCH] bash-completion: add --edit-description to choices for branch Paul Gortmaker
2012-02-06 23:25 ` Thomas Rast
2012-02-07  0:16   ` Paul Gortmaker

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).