# [PATCH] bash-completion: add --edit-description to choices for branch

3 messages from 2012-02-06 to 2012-02-07. Participants: Paul Gortmaker, Thomas Rast.
Thread: https://gitlist.dev/t/29562

## Paul Gortmaker, 2012-02-06 17:03

Subject: [PATCH] bash-completion: add --edit-description to choices for branch
Message-ID: <1328547807-3374-1-git-send-email-paul.gortmaker@windriver.com>
URL: https://gitlist.dev/e/1328547807-3374-1-git-send-email-paul.gortmaker%40windriver.com

```
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

```

## Thomas Rast, 2012-02-06 23:25

Subject: Re: [PATCH] bash-completion: add --edit-description to choices for branch
Message-ID: <871uq7sfwb.fsf@thomas.inf.ethz.ch>
URL: https://gitlist.dev/e/871uq7sfwb.fsf%40thomas.inf.ethz.ch
In-Reply-To: <1328547807-3374-1-git-send-email-paul.gortmaker@windriver.com>

```
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

```

## Paul Gortmaker, 2012-02-07 00:16

Subject: Re: [PATCH] bash-completion: add --edit-description to choices for branch
Message-ID: <4F306D48.1060103@windriver.com>
URL: https://gitlist.dev/e/4F306D48.1060103%40windriver.com
In-Reply-To: <871uq7sfwb.fsf@thomas.inf.ethz.ch>

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

> 

```
