DORMANTno replies

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

From: Paul Gortmaker <hidden>
Date: 2016-06-15 22:53:00
Subsystem: the rest · Maintainer: Linus Torvalds

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

Signed-off-by: Paul Gortmaker <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help