mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-05 01:35:37 -05:00
Attempts to fix #58 - work with sub-modules
Also fixes issue with nested repos
This commit is contained in:
@@ -13,6 +13,7 @@ export class StashApplyCommand extends Command {
|
||||
|
||||
async execute(stashItem: { stashName: string, message: string }, confirm: boolean = true, deleteAfter: boolean = false) {
|
||||
if (!this.git.config.insiders) return undefined;
|
||||
if (!this.git.repoPath) return undefined;
|
||||
|
||||
if (!stashItem || !stashItem.stashName) {
|
||||
const stash = await this.git.getStashList(this.git.repoPath);
|
||||
|
||||
Reference in New Issue
Block a user