mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-15 01:25:42 -05:00
Adds experimental 'Stash Changes' command
Adds experimental 'Stash Changes' to stash list Adds experimental 'Stash Unstaged Changes' to stash list
This commit is contained in:
@@ -757,6 +757,12 @@ export class GitService extends Disposable {
|
||||
return Git.stash_delete(repoPath, stashName);
|
||||
}
|
||||
|
||||
stashSave(repoPath: string, message?: string, unstagedOnly: boolean = false) {
|
||||
Logger.log(`stashSave('${repoPath}', ${message}, ${unstagedOnly})`);
|
||||
|
||||
return Git.stash_save(repoPath, message, unstagedOnly);
|
||||
}
|
||||
|
||||
toggleCodeLens(editor: TextEditor) {
|
||||
if (this.config.codeLens.visibility !== CodeLensVisibility.OnDemand ||
|
||||
(!this.config.codeLens.recentChange.enabled && !this.config.codeLens.authors.enabled)) return;
|
||||
|
||||
Reference in New Issue
Block a user