Skip to content

[bug] Incorrect result when using fuzz #19

Open
@ayuckhulk

Description

@ayuckhulk

Given

Original file example.txt

A
B
C
Y
D
E
F
X

Patch example.patch

diff --git a/example.txt b/example.txt
index 4426901..7b77a8b 100644
--- a/example.txt
+++ b/example.txt
@@ -2,7 +2,7 @@
 A
 B
 C
-Y
+Z
 D
 E
 F

Execute command (1.17.4, hash 2354804):

patch_ng.py -f example.patch

Result (misplaced Z):

A
B
C
Y
Z
E
F
X

Expected result (with unix patch command):

A
B
C
Z
D
E
F
X

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions