Skip to content

Commit

Permalink
Ditch Rebase, recycles RebaseStatus to show while rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlHeitmann committed Jul 31, 2023
1 parent 808c159 commit d838088
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/gui/controllers/helpers/merge_and_rebase_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (self *MergeAndRebaseHelper) RebaseOntoRef(ref string) error {
Key: 's',
OnPress: func() error {
self.c.LogAction(self.c.Tr.Actions.RebaseBranch)
return self.c.WithWaitingStatus(self.c.Tr.Actions.Rebase, func(task gocui.Task) error {
return self.c.WithWaitingStatus(self.c.Tr.RebasingStatus, func(task gocui.Task) error {
baseCommit := self.c.Modes().MarkedBaseCommit.GetSha()
var err error
if baseCommit != "" {
Expand Down
2 changes: 0 additions & 2 deletions pkg/i18n/english.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,6 @@ type Actions struct {
ForceCheckoutBranch string
DeleteBranch string
Merge string
Rebase string
RebaseBranch string
RenameBranch string
SetUnsetUpstream string
Expand Down Expand Up @@ -1338,7 +1337,6 @@ func EnglishTranslationSet() TranslationSet {
ForceCheckoutBranch: "Force checkout branch",
DeleteBranch: "Delete branch",
Merge: "Merge",
Rebase: "Rebasing",
RebaseBranch: "Rebase branch",
RenameBranch: "Rename branch",
SetUnsetUpstream: "Set/Unset upstream",
Expand Down

0 comments on commit d838088

Please sign in to comment.