diff --git a/src/git/models/stashCommit.ts b/src/git/models/stashCommit.ts index 3c3582a..eed62d9 100644 --- a/src/git/models/stashCommit.ts +++ b/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; + } } \ No newline at end of file