Переглянути джерело

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

Завантаження…
Відмінити
Зберегти