Skip to content

Commit 1e2327b

Browse files
committed
💄
1 parent a3065bb commit 1e2327b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/commands/patches.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,10 @@ abstract class CreatePatchCommandBase extends GlCommandBase {
168168
repo ??= await getRepositoryOrShowPicker(title);
169169
if (repo == null) return;
170170

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-
});
171+
return repo.git.diff().getDiff?.(args?.to ?? uncommitted, args?.from ?? 'HEAD', {
172+
includeUntracked: args?.includeUntracked ?? (args?.to != null || args?.to === uncommitted),
173+
uris: args?.uris,
174+
});
177175
}
178176

179177
abstract override execute(args?: CreatePatchCommandArgs): Promise<void>;

0 commit comments

Comments
 (0)