Fixed reset on conflicted files
This commit is contained in:
parent
ab8e8c7dbe
commit
1f889aca1c
@ -216,7 +216,7 @@ class StatusManager @Inject constructor(
|
||||
}
|
||||
|
||||
suspend fun reset(git: Git, statusEntry: StatusEntry, staged: Boolean) = withContext(Dispatchers.IO) {
|
||||
if (staged) {
|
||||
if (staged || statusEntry.statusType == StatusType.CONFLICTING) {
|
||||
git
|
||||
.reset()
|
||||
.addPath(statusEntry.filePath)
|
||||
|
Loading…
Reference in New Issue
Block a user