diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2019-07-11 17:08:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-11 14:29:27 -0700 |
commit | 44b67cb62b339fdc6239ef6b72b8c75b559a574a (patch) | |
tree | e0b945eeb5283761968d5a3e15efcd0c6a43ebe8 /builtin/commit-graph.c | |
parent | 1ca69225981a915b0041f74047fe554b1580da5b (diff) |
range-diff: split lines manually
Currently range-diff uses the 'strbuf_getline()' function for doing
its line by line processing. In a future patch we want to do parts of
that parsing using the 'parse_git_diff_header()' function. That
function does its own line by line reading of the input, and doesn't
use strbufs. This doesn't match with how we do the line-by-line
processing in range-diff currently.
Switch range-diff to do our own line by line parsing, so we can re-use
the 'parse_git_diff_header()' function later.
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions