Browse Source
Added a check in Diff to ensure that files that are most likely not text are not line-by-line diffed. Files are determined to be binary by checking the first 8000 bytes for a null character. This is a similar heuristic to what C Git uses. Change-Id: I2b6f05674c88d89b3f549a5db483f850f7f46c26stable-0.9
Jeff Schumacher
15 years ago
committed by
Shawn O. Pearce
2 changed files with 38 additions and 6 deletions
Loading…
Reference in new issue