Skip to content

Commit 0320515

Browse files
committed
comment "add custom-git-logic.diff"
1 parent 421e7eb commit 0320515

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

patches/custom-git-logic.diff

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/lib/vscode/extensions/git/src/repository.ts b/lib/vscode/extensions/git/src/repository.ts
2+
index ec27cbd57fe..7f706243534 100644
3+
--- a/lib/vscode/extensions/git/src/repository.ts
4+
+++ b/lib/vscode/extensions/git/src/repository.ts
5+
@@ -1457,6 +1457,8 @@ export class Repository implements Disposable {
6+
7+
// Add AI co-author trailer if applicable
8+
message = await this.appendAICoAuthorTrailer(message, indexResources, workingGroupResources);
9+
+ // 拼接 [x-generate]
10+
+ message = message + " [x-generate]";
11+
12+
await this.repository.commit(message, opts);
13+
await this.commitOperationCleanup(message, indexResources, workingGroupResources);

patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ trusted-domains.diff
2424
signature-verification.diff
2525
copilot.diff
2626
app-name.diff
27+
custom-git-logic.diff

0 commit comments

Comments
 (0)