Skip to content

Commit 91a79e1

Browse files
committed
refactor(git): fix git revert issue
1 parent ce8db57 commit 91a79e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/vcs/DiffSimplifier.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,9 @@ class DiffSimplifier(val project: Project) {
6767
val limitedChnages = filteredChanges.subList(0, min(filteredChanges.size, 500))
6868

6969
val patches = IdeaTextPatchBuilder.buildPatch(
70-
project, limitedChnages, Path.of(basePath), true, true
70+
project, limitedChnages, Path.of(basePath), false, true
7171
)
7272

73-
7473
UnifiedDiffWriter.write(
7574
project,
7675
project.stateStore.projectBasePath,

0 commit comments

Comments
 (0)