threads / patch / 23233

patchbash completion: add --orphan to 'git checkout'

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

## tl;dr

One message between Mar 29, 2010 and Mar 29, 2010. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Erick Mattos· Mar 29, 2010, 14:00 UTC · lore
Updating git-completion.bash with new --orphan option to 'git checkout'.
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to contrib/completion/git-completion.bash +1 −1
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

← back to recent threads