mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Fix the blue sha color of todo commits while rebasing
This broke with 5d8a85f7e7
.
This commit is contained in:
@ -123,10 +123,12 @@ func (self *CommitLoader) GetCommits(opts GetCommitsOptions) ([]*models.Commit,
|
|||||||
if commit.Sha == firstPushedCommit {
|
if commit.Sha == firstPushedCommit {
|
||||||
passedFirstPushedCommit = true
|
passedFirstPushedCommit = true
|
||||||
}
|
}
|
||||||
if passedFirstPushedCommit {
|
if commit.Status != models.StatusRebasing {
|
||||||
commit.Status = models.StatusPushed
|
if passedFirstPushedCommit {
|
||||||
} else {
|
commit.Status = models.StatusPushed
|
||||||
commit.Status = models.StatusUnpushed
|
} else {
|
||||||
|
commit.Status = models.StatusUnpushed
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user