diff --git a/denops/gin/feat/patch/command.ts b/denops/gin/feat/patch/command.ts index 66c6da3b..a012058a 100644 --- a/denops/gin/feat/patch/command.ts +++ b/denops/gin/feat/patch/command.ts @@ -76,10 +76,9 @@ export async function exec( !!verbose, ); - const infoIndex = await editExec(denops, filename, undefined, { - "cached": "", - }, { + const infoIndex = await editExec(denops, filename, undefined, {}, { worktree, + cached: true, opener: options.opener, cmdarg: options.cmdarg, mods: options.mods,