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

[PATCH] completion: --set-upstream option for git-branch

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
May 26, 2010, 08:46 UTC
Message-ID
<72c4f4098dea94e21d44b8f76965ff1cb26eab72.1274863387.git.git@drmicha.warpmail.net>
In-Reply-To
<20100525195303.GA8174@atjola.homenet>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
On that note, I'm still wondering what's wrong with this one ;)
 contrib/completion/git-completion.bash |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 545bd4b..57245a8 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -797,6 +797,7 @@ _git_branch ()
 		__gitcomp "
 			--color --no-color --verbose --abbrev= --no-abbrev
 			--track --no-track --contains --merged --no-merged
+			--set-upstream
 			"
 		;;
 	*)
-- 
1.7.1.345.g59eb63
Previous: Björn SteinbrinkNext: Joshua Jensen
Message 3 of 4 in “git branch --track to link existing local branch to remote?”
  1. skillzero@gmail.comMay 25, 2010
  2. Björn SteinbrinkMay 25, 2010
  3. completion: --set-upstream option for git-branchMichael J Gruber, May 26, 2010
  4. Joshua JensenMay 25, 2010

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.