mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-08 22:36:49 +02:00
Merge pull request #2628 from stefanhaller/make-merged-take-precedence-over-unpushed
This commit is contained in:
@ -357,7 +357,7 @@ func (self *CommitLoader) setCommitMergedStatuses(refName string, commits []*mod
|
|||||||
if strings.HasPrefix(ancestor, commit.Sha) {
|
if strings.HasPrefix(ancestor, commit.Sha) {
|
||||||
passedAncestor = true
|
passedAncestor = true
|
||||||
}
|
}
|
||||||
if commit.Status != models.StatusPushed {
|
if commit.Status != models.StatusPushed && commit.Status != models.StatusUnpushed {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if passedAncestor {
|
if passedAncestor {
|
||||||
|
Reference in New Issue
Block a user