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

[PATCH] bash completion: add --orphan to 'git checkout'

From
Erick Mattos <erick.mattos@gmail.com>
Date
Mar 29, 2010, 14:00 UTC
Message-ID
<1269871258-5979-1-git-send-email-erick.mattos@gmail.com>
Updating git-completion.bash with new --orphan option to 'git checkout'.
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 733ac39..54e07f3 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -832,7 +832,7 @@ _git_checkout ()
 	--*)
 		__gitcomp "
 			--quiet --ours --theirs --track --no-track --merge
-			--conflict= --patch
+			--conflict= --orphan --patch
 			"
 		;;
 	*)
-- 
1.7.0.3.292.g2556a.dirty
Message 1 of 1 in “bash completion: add --orphan to 'git checkout'”
  1. bash completion: add --orphan to 'git checkout'Erick Mattos, Mar 29, 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.