diff --git a/src/repository.ts b/src/repository.ts index a157a58f..81b6b83f 100644 --- a/src/repository.ts +++ b/src/repository.ts @@ -160,6 +160,14 @@ export class Repository { changes.push(new Resource(this.workspaceRoot, status[1], "conflict")); break; case "?": + let matches = status[1].match(/(.*)\.(mine|r\w+)$/); + if ( + matches && + matches[1] && + statuses.some(s => s[1] === matches[1]) + ) { + break; + } notTracked.push( new Resource(this.workspaceRoot, status[1], "unversioned") );