Skip to contentSkip to conversation

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

PATCH New Erick Mattos 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash completion: add --orphan to 'git checkout'

Updating git-completion.bash with new --orphan option to 'git checkout'.

---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
contrib/completion/git-completion.bash +1 -1
index 733ac39..54e07f3 100755
@@ -832,7 +832,7 @@ _git_checkout ()
 	--*)
 		__gitcomp "
 			--quiet --ours --theirs --track --no-track --merge
-			--conflict= --patch
+			--conflict= --orphan --patch
 			"
 		;;
 	*)
Signature · 1 line
1.7.0.3.292.g2556a.dirty