mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-16 01:25:42 -05:00
Adds 'Show Stashed Changes` command
Adds experimental 'Apply Stashed Changes' command Adds experimental 'Delete Stashed Changes' to stashed changes quick pick
This commit is contained in:
24
src/git/models/stashCommit.ts
Normal file
24
src/git/models/stashCommit.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
'use strict';
|
||||
import { IGitCommitLine } from './commit';
|
||||
import { GitLogCommit } from './logCommit';
|
||||
import { IGitStatusFile, GitStatusFileStatus } from './status';
|
||||
|
||||
export class GitStashCommit extends GitLogCommit {
|
||||
|
||||
constructor(
|
||||
public stashName: string,
|
||||
repoPath: string,
|
||||
sha: string,
|
||||
fileName: string,
|
||||
date: Date,
|
||||
message: string,
|
||||
status?: GitStatusFileStatus,
|
||||
fileStatuses?: IGitStatusFile[],
|
||||
lines?: IGitCommitLine[],
|
||||
originalFileName?: string,
|
||||
previousSha?: string,
|
||||
previousFileName?: string
|
||||
) {
|
||||
super('stash', repoPath, sha, fileName, undefined, date, message, status, fileStatuses, lines, originalFileName, previousSha, previousFileName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user