瀏覽代碼

Uses stash name in place of a shorten sha

main
Eric Amodio 8 年之前
父節點
當前提交
7b63d4f437
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      src/git/models/stashCommit.ts

+ 4
- 0
src/git/models/stashCommit.ts 查看文件

@ -21,4 +21,8 @@ export class GitStashCommit extends GitLogCommit {
) {
super('stash', repoPath, sha, fileName, undefined, date, message, status, fileStatuses, lines, originalFileName, previousSha, previousFileName);
}
get shortSha() {
return this.stashName;
}
}

Loading…
取消
儲存