Browse Source

Uses stash name in place of a shorten sha

main
Eric Amodio 7 years ago
parent
commit
7b63d4f437
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/git/models/stashCommit.ts

+ 4
- 0
src/git/models/stashCommit.ts View File

@ -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…
Cancel
Save