diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2023-10-08 18:09:29 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2023-10-08 18:45:36 +0200 |
commit | 707fa37160e82c1c88cc44a7ae07762ccec48008 (patch) | |
tree | 2858ceeddd7588d2983ed3c9a35f29517e632787 /pkg/gui/controllers/helpers/refresh_helper.go | |
parent | 7075b66bc6dde80be5e0bc626db1988a9f47e2ca (diff) |
Add inline status for pushing/pulling/fast-forwarding branches
When pulling/pushing/fast-forwarding a branch, show this state in the branches
list for that branch for as long as the operation takes, to make it easier to
see when it's done (without having to stare at the status bar in the lower
left).
This will hopefully help with making these operations feel more predictable, now
that we no longer show a loader panel for them.
Diffstat (limited to 'pkg/gui/controllers/helpers/refresh_helper.go')
-rw-r--r-- | pkg/gui/controllers/helpers/refresh_helper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/helpers/refresh_helper.go b/pkg/gui/controllers/helpers/refresh_helper.go index f04b102e4..bec0a10e1 100644 --- a/pkg/gui/controllers/helpers/refresh_helper.go +++ b/pkg/gui/controllers/helpers/refresh_helper.go @@ -678,7 +678,7 @@ func (self *RefreshHelper) refreshStatus() { repoName := self.c.Git().RepoPaths.RepoName() - status := presentation.FormatStatus(repoName, currentBranch, linkedWorktreeName, workingTreeState, self.c.Tr) + status := presentation.FormatStatus(repoName, currentBranch, types.ItemOperationNone, linkedWorktreeName, workingTreeState, self.c.Tr) self.c.SetViewContent(self.c.Views().Status, status) } |