mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-09 09:22:48 +03:00
Make WorkingTreeState a struct, and add cherry-picking and reverting states
This commit is contained in:
@@ -30,7 +30,7 @@ func FormatStatus(
|
||||
}
|
||||
}
|
||||
|
||||
if workingTreeState != models.WORKING_TREE_STATE_NONE {
|
||||
if workingTreeState.Any() {
|
||||
status += style.FgYellow.Sprintf("(%s) ", workingTreeState.LowerCaseTitle(tr))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user