Merge branch 'sm/branch-broken-ref'
[gitweb.git] / contrib / completion / git-completion.bash
index 545bd4b38368e3c2a3958133bbeef6a19e831fff..aebb0b689040c3f1c1023e3ddf07779178a6bdfb 100755 (executable)
@@ -797,6 +797,7 @@ _git_branch ()
                __gitcomp "
                        --color --no-color --verbose --abbrev= --no-abbrev
                        --track --no-track --contains --merged --no-merged
+                       --set-upstream
                        "
                ;;
        *)
@@ -841,7 +842,7 @@ _git_checkout ()
        --*)
                __gitcomp "
                        --quiet --ours --theirs --track --no-track --merge
-                       --conflict= --patch
+                       --conflict= --orphan --patch
                        "
                ;;
        *)