summaryrefslogtreecommitdiffstats
path: root/pkg/gui/status_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r--pkg/gui/status_panel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go
index 06b94d722..a6bed8f83 100644
--- a/pkg/gui/status_panel.go
+++ b/pkg/gui/status_panel.go
@@ -94,11 +94,11 @@ func (gui *Gui) updateWorkTreeState() error {
gui.State.WorkingTreeState = "merging"
return nil
}
- rebasing, err := gui.GitCommand.IsInRebaseState()
+ rebaseMode, err := gui.GitCommand.RebaseMode()
if err != nil {
return err
}
- if rebasing {
+ if rebaseMode != "" {
gui.State.WorkingTreeState = "rebasing"
return nil
}