summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-01-14 13:31:17 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-15 10:12:58 -0800
commitdca90031fb777b80fab5084d48cba2e163e2596d (patch)
tree72f876e2673a720413a6f36e261fc090f3cd3344 /date.c
parentcheck-attr: there are only two possible line terminations (diff)
downloadtgif-dca90031fb777b80fab5084d48cba2e163e2596d.tar.xz
check-ignore: there are only two possible line terminations
The program by default reads LF terminated lines, with an option to use NUL terminated records. Instead of pretending that there can be other useful values for line_termination, use a boolean variable, nul_term_line, to tell if NUL terminated records are used, and switch between strbuf_getline_{lf,nul} based on it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'date.c')
0 files changed, 0 insertions, 0 deletions