Skip to content

Commit

Permalink
Adds comment with more info on ^3 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Dec 12, 2018
1 parent c8a64ef commit bee45e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/nodes/stashNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class StashNode extends ViewRefNode {
const files = (this.commit as GitStashCommit).files;

// Check for any untracked files -- since git doesn't return them via `git stash list` :(
// See https://stackoverflow.com/questions/12681529/
const log = await Container.git.getLog(this.commit.repoPath, {
maxCount: 1,
ref: `${(this.commit as GitStashCommit).stashName}^3`
Expand Down

0 comments on commit bee45e1

Please sign in to comment.