mirror of
https://github.com/git/git.git
synced 2026-03-30 11:30:07 +02:00
868c8752451c0b75502a0134068f0cfe055eb7ad
When we were receiving a lot of output from diff-index we split records at the wrong locations and started using the file status information (mode and SHA1s) as path names, and then proceeded to try to use part of the path names as status data. This caused all sorts of havoc. So I rewrote the parsing implementation to scan for the pair of null bytes along the buffer and stop scanning (waiting for more data) if both can't be found during this event. This seems to work well under high load (like when processing 6,983 added files). Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Description
No description provided
Languages
C
50.4%
Shell
38.8%
Perl
4.4%
Tcl
3.1%
Python
0.8%
Other
2.3%