diff options
author | Jeff King <peff@peff.net> | 2018-11-02 02:40:13 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-05 13:14:35 +0900 |
commit | 5eade0746e1daf659a9559d804068f9f31614625 (patch) | |
tree | b82842386fcfd001c7bd89a972af6d0da42f1b39 /t/t4100 | |
parent | range-diff: use a hunk callback (diff) | |
download | tgif-5eade0746e1daf659a9559d804068f9f31614625.tar.xz |
xdiff-interface: drop parse_hunk_header()
This function was used only for parsing the hunk headers generated by
xdiff. Now that we can use hunk callbacks to get that information
directly, it has outlived its usefulness.
Note to anyone who wants to resurrect it: the "len" parameter was
totally unused, meaning that the function could read past the end of the
"line" array. In practice this never happened, because we only used it
to parse xdiff's generated header lines. But it would be dangerous to
use it for other cases without fixing this defect.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100')
0 files changed, 0 insertions, 0 deletions