sequencer (rebase -i): the todo can be empty when continuing
[gitweb.git] / contrib / completion / git-completion.bash
index 1f97ffae199232fcbf372d028c4802ace91d638b..6721ff80fb1324ec1cf450f7b69cbf8266880035 100644 (file)
@@ -1734,10 +1734,10 @@ _git_rebase ()
 {
        local dir="$(__gitdir)"
        if [ -f "$dir"/rebase-merge/interactive ]; then
-               __gitcomp "--continue --skip --abort --edit-todo"
+               __gitcomp "--continue --skip --abort --quit --edit-todo"
                return
        elif [ -d "$dir"/rebase-apply ] || [ -d "$dir"/rebase-merge ]; then
-               __gitcomp "--continue --skip --abort"
+               __gitcomp "--continue --skip --abort --quit"
                return
        fi
        __git_complete_strategy && return