From 7b63d4f437fcb8ddf73b2f1947085d3a6ee86323 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 29 Mar 2017 00:15:11 -0400 Subject: [PATCH] Uses stash name in place of a shorten sha --- src/git/models/stashCommit.ts | 4 ++++ 1 file changed, 4 insertions(+) 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