mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
acknowledge 'DU' statuses as being merge conflicts
This commit is contained in:
@ -156,7 +156,7 @@ func (c *GitCommand) GetStatusFiles() []*File {
|
|||||||
HasUnstagedChanges: unstagedChange != " ",
|
HasUnstagedChanges: unstagedChange != " ",
|
||||||
Tracked: !untracked,
|
Tracked: !untracked,
|
||||||
Deleted: unstagedChange == "D" || stagedChange == "D",
|
Deleted: unstagedChange == "D" || stagedChange == "D",
|
||||||
HasMergeConflicts: change == "UU" || change == "AA",
|
HasMergeConflicts: change == "UU" || change == "AA" || change == "DU",
|
||||||
Type: c.OSCommand.FileType(filename),
|
Type: c.OSCommand.FileType(filename),
|
||||||
}
|
}
|
||||||
files = append(files, file)
|
files = append(files, file)
|
||||||
|
Reference in New Issue
Block a user