Pārlūkot izejas kodu

Fixes status parsing issue with working changes

main
Eric Amodio pirms 2 gadiem
vecāks
revīzija
379d83ea48
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      src/git/models/status.ts

+ 3
- 2
src/git/models/status.ts Parādīt failu

@ -383,10 +383,11 @@ export class GitStatusFile implements GitFile {
switch (y) {
case 'A':
this.workingTreeStatus = GitFileWorkingTreeStatus.Modified;
case '?':
this.workingTreeStatus = GitFileWorkingTreeStatus.Added;
break;
case 'D':
this.workingTreeStatus = GitFileWorkingTreeStatus.Modified;
this.workingTreeStatus = GitFileWorkingTreeStatus.Deleted;
break;
case 'M':
this.workingTreeStatus = GitFileWorkingTreeStatus.Modified;

Notiek ielāde…
Atcelt
Saglabāt