Skip to content

Commit 18a7638

Browse files
committed
feat(patch): simplify diff repair templates and remove examples
1 parent 8c914a8 commit 18a7638

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

core/src/main/resources/genius/en/code/repair-diff.vm

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
Please help me repair the diff, follow GNU unified diff format, and return all repaired code.
22

3-
GNU unified diff format example:
4-
5-
```diff
6-
Index: src/main/java/com/example/MyClass.java
7-
===================================================================
8-
--- src/main/java/com/example/MyClass.java
9-
+++ src/main/java/com/example/MyClass.java
10-
@@ -1,5 +1,5 @@
11-
package com.example;
12-
```
13-
143
Here is the original code: ${context.oldCode}
154

165
Here is the patched code:

core/src/main/resources/genius/zh/code/repair-diff.vm

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
Please help me repair the diff, follow GNU unified diff format, and return all repaired code.
22

3-
GNU unified diff format example:
4-
5-
```diff
6-
Index: src/main/java/com/example/MyClass.java
7-
===================================================================
8-
--- src/main/java/com/example/MyClass.java
9-
+++ src/main/java/com/example/MyClass.java
10-
@@ -1,5 +1,5 @@
11-
package com.example;
12-
```
13-
143
Here is the original code: ${context.oldCode}
154

165
Here is the patched code:

0 commit comments

Comments
 (0)