git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
PGPaul Gortmaker <paul.gortmaker@windriver.com>
Date
Feb 6, 2012, 17:03 UTC
Message-ID
<1328547807-3374-1-git-send-email-paul.gortmaker@windriver.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
Next: Thomas Rast
Message 1 of 3 in “bash-completion: add --edit-description to choices for branch”
  1. bash-completion: add --edit-description to choices for branchPaul Gortmaker, Feb 6, 2012
  2. Thomas RastFeb 6, 2012
  3. Paul GortmakerFeb 7, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.