Merge branch 'bw/rebase-i-ignored-submodule-fix'
[gitweb.git] / contrib / completion / git-completion.bash
index a331ccc556b011f3e21b8df5aa49ef1bd8481d5b..fdd984d34a9240de115edc2e8dee37302574f1c6 100644 (file)
@@ -1250,7 +1250,8 @@ _git_checkout ()
        --*)
                __gitcomp "
                        --quiet --ours --theirs --track --no-track --merge
-                       --conflict= --orphan --patch
+                       --conflict= --orphan --patch --detach --ignore-skip-worktree-bits
+                       --recurse-submodules --no-recurse-submodules
                        "
                ;;
        *)
@@ -1385,7 +1386,7 @@ _git_describe ()
                __gitcomp "
                        --all --tags --contains --abbrev= --candidates=
                        --exact-match --debug --long --match --always --first-parent
-                       --exclude
+                       --exclude --dirty --broken
                        "
                return
        esac