There was an error while loading. Please reload this page.
1 parent 798cf17 commit 73e5490Copy full SHA for 73e5490
1 file changed
src/text-buffer.js
@@ -568,7 +568,9 @@ class TextBuffer {
568
//
569
// Returns a {Boolean}.
570
isInConflict () {
571
- return this.isModified() && this.fileHasChangedSinceLastLoad
+ // Deleted files are automatically in conflict if they consider themselves
572
+ // modified.
573
+ return this.isModified() && (this.fileHasChangedSinceLastLoad || this.isDeleted())
574
}
575
576
// Public: Get the path of the associated file.
0 commit comments