1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-09 13:47:11 +02:00

acknowledge 'DU' statuses as being merge conflicts

This commit is contained in:
Jesse Duffield 2019-03-03 15:48:16 +11:00
parent e0bdfad63a
commit 7a2176f479

View File

@ -156,7 +156,7 @@ func (c *GitCommand) GetStatusFiles() []*File {
HasUnstagedChanges: unstagedChange != " ",
Tracked: !untracked,
Deleted: unstagedChange == "D" || stagedChange == "D",
HasMergeConflicts: change == "UU" || change == "AA",
HasMergeConflicts: change == "UU" || change == "AA" || change == "DU",
Type: c.OSCommand.FileType(filename),
}
files = append(files, file)