Merge branch 'jk/janitorial-fixes'
[gitweb.git] / contrib / completion / git-completion.bash
index c044a68d229aab6d15b9c0ae00334bb9f4f03575..87de809d23146c2cee818555028cf8a24dc6c908 100644 (file)
@@ -1505,6 +1505,12 @@ _git_mergetool ()
 
 _git_merge_base ()
 {
+       case "$cur" in
+       --*)
+               __gitcomp "--octopus --independent --is-ancestor --fork-point"
+               return
+               ;;
+       esac
        __gitcomp_nl "$(__git_refs)"
 }
 
@@ -1648,7 +1654,7 @@ _git_rebase ()
                        --preserve-merges --stat --no-stat
                        --committer-date-is-author-date --ignore-date
                        --ignore-whitespace --whitespace=
-                       --autosquash
+                       --autosquash --fork-point --no-fork-point
                        "
 
                return