Code

bash completion: add --orphan to 'git checkout'
authorErick Mattos <erick.mattos@gmail.com>
Sat, 22 May 2010 00:43:52 +0000 (21:43 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Jun 2010 21:46:19 +0000 (14:46 -0700)
Update git-completion.bash with new --orphan option to 'git checkout'.

Signed-off-by: Erick Mattos <erick.mattos@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 545bd4b38368e3c2a3958133bbeef6a19e831fff..b70cca13fd2d926cc1c5c5374c0d65413e34b409 100755 (executable)
@@ -841,7 +841,7 @@ _git_checkout ()
        --*)
                __gitcomp "
                        --quiet --ours --theirs --track --no-track --merge
-                       --conflict= --patch
+                       --conflict= --orphan --patch
                        "
                ;;
        *)