We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39133d6 commit 867f9d2Copy full SHA for 867f9d2
src/commands/patches.ts
@@ -168,12 +168,10 @@ abstract class CreatePatchCommandBase extends GlCommandBase {
168
repo ??= await getRepositoryOrShowPicker(title);
169
if (repo == null) return;
170
171
- return repo.git
172
- .diff()
173
- .getDiff?.(args?.to ?? uncommitted, args?.from ?? 'HEAD', {
174
- includeUntracked: args?.includeUntracked ?? (args?.to != null || args?.to === uncommitted),
175
- uris: args?.uris,
176
- });
+ return repo.git.diff().getDiff?.(args?.to ?? uncommitted, args?.from ?? 'HEAD', {
+ includeUntracked: args?.includeUntracked ?? (args?.to != null || args?.to === uncommitted),
+ uris: args?.uris,
+ });
177
}
178
179
abstract override execute(args?: CreatePatchCommandArgs): Promise<void>;
0 commit comments