Skip to content

Commit 0c18412

Browse files
Mircea Cirjaliutwaugh
authored andcommitted
fix: match correct size for new file mode
Signed-off-by: Mircea Cirjaliu <mircea.cirjaliumeliu@external.atlascopco.com>
1 parent 2ba812f commit 0c18412

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/filterdiff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ static int filterdiff (FILE *f, const char *patchname)
10591059
else if (strncmp (line, "old mode ", 9) &&
10601060
strncmp (line, "new mode ", 9) &&
10611061
strncmp (line, "deleted file mode ", 18) &&
1062-
strncmp (line, "new file mode ", 15) &&
1062+
strncmp (line, "new file mode ", 14) &&
10631063
strncmp (line, "copy from ", 10) &&
10641064
strncmp (line, "copy to ", 8) &&
10651065
strncmp (line, "rename from ", 12) &&

0 commit comments

Comments
 (0)