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

1 messages from 2010-03-29 to 2010-03-29. Participants: Erick Mattos.
Thread: https://gitlist.dev/t/23233

## Erick Mattos, 2010-03-29 14:00

Subject: [PATCH] bash completion: add --orphan to 'git checkout'
Message-ID: <1269871258-5979-1-git-send-email-erick.mattos@gmail.com>
URL: https://gitlist.dev/e/1269871258-5979-1-git-send-email-erick.mattos%40gmail.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

```
