浏览代码

Fixes status parsing issue with working changes

main
Eric Amodio 2 年前
父节点
当前提交
379d83ea48
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      src/git/models/status.ts

+ 3
- 2
src/git/models/status.ts 查看文件

@ -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;

正在加载...
取消
保存