Skip to content

Commit f68daa3

Browse files
committed
Patch.pp_hunk: Fix syntax of the start/length header
1 parent 8ad62a1 commit f68daa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patch.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let unified_diff ~mine_no_nl ~their_no_nl hunk =
2626
(if their_no_nl then no_nl_str else []))
2727

2828
let pp_hunk ~mine_no_nl ~their_no_nl ppf hunk =
29-
Format.fprintf ppf "@@@@ -%d,%d +%d,%d @@@@\n%s\n"
29+
Format.fprintf ppf "@@ -%d,%d +%d,%d @@\n%s\n"
3030
hunk.mine_start hunk.mine_len hunk.their_start hunk.their_len
3131
(unified_diff ~mine_no_nl ~their_no_nl hunk)
3232

0 commit comments

Comments
 (0)