Skip to content

git: Remove Repository#rebase_in_progress?

Toon Claes requested to merge toon-remove-gitaly-rebase-in-progress into master

What does this MR do?

In [1] the implementation of UserRebaseConfirmable was rewritten in Go. This rewrite no longer uses worktrees. Because of this, Gitaly is pretty much stateless in regard of a rebase. Also in [2] some work was done to keep the status of a rebase completely in the model, and no longer ask Gitaly for the status.

This change removes all calls of IsRebaseInProgress and makes the code completely rely on internal status kept in the MergeRequest model.

  1. gitaly!2876 (merged)
  2. d31b733f (Only read rebase status from the model, 2019-08-15)

Issue: gitaly#3614 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Toon Claes

Merge request reports