Merge branch 'pw/rebase-keep-empty-fixes'
[gitweb.git] / git-rebase.sh
index fb64ee1fe42e801a57f1709c15617ddbc27f05af..548c15e4a16160e15a7f32cee8ace37284dbb850 100755 (executable)
@@ -62,6 +62,7 @@ $(gettext 'Resolve all conflicts manually, mark them as resolved with
 You can instead skip this commit: run "git rebase --skip".
 To abort and get back to the state before "git rebase", run "git rebase --abort".')
 "
+squash_onto=
 unset onto
 unset restrict_revision
 cmd=
@@ -270,6 +271,9 @@ do
        --allow-empty-message)
                allow_empty_message=--allow-empty-message
                ;;
+       --no-keep-empty)
+               keep_empty=
+               ;;
        --preserve-merges)
                preserve_merges=t
                test -z "$interactive_rebase" && interactive_rebase=implied