···218218 let oc = open_out file in
219219 (* Write 10KB of content - enough to trigger delta compression *)
220220 for i = 1 to 500 do
221221- Fmt.pf oc "Line %d: This is some repetitive content.\n" i
221221+ Printf.fprintf oc "Line %d: This is some repetitive content.\n" i
222222 done;
223223 close_out oc;
224224 ignore (run_git tmp_dir [ "add"; "large.txt" ]);
···226226 (* Modify just a few lines - this will create a delta *)
227227 let oc = open_out file in
228228 for i = 1 to 500 do
229229- if i = 250 then Fmt.pf oc "Line %d: MODIFIED CONTENT HERE!\n" i
230230- else Fmt.pf oc "Line %d: This is some repetitive content.\n" i
229229+ if i = 250 then Printf.fprintf oc "Line %d: MODIFIED CONTENT HERE!\n" i
230230+ else Printf.fprintf oc "Line %d: This is some repetitive content.\n" i
231231 done;
232232 close_out oc;
233233 ignore (run_git tmp_dir [ "add"; "large.txt" ]);