We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d29364 commit dfdd65bCopy full SHA for dfdd65b
src/commands/patches.ts
@@ -225,7 +225,7 @@ export class ApplyPatchFromClipboardCommand extends GlCommandBase {
225
226
async execute(): Promise<void> {
227
const patch = await env.clipboard.readText();
228
- let repo = this.container.git.highlander;
+ let repo = this.container.git.getBestRepositoryOrFirst();
229
230
// Make sure it looks like a valid patch
231
const valid = patch.length ? await repo?.git.patch?.validatePatch(patch) : false;
0 commit comments