summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-14 21:31:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-01-15 18:12:58 (GMT)
commitdca90031fb777b80fab5084d48cba2e163e2596d (patch)
tree72f876e2673a720413a6f36e261fc090f3cd3344 /perl
parentf418afa98afb15afb8f93fe1ab11d5b83266d17d (diff)
downloadgit-dca90031fb777b80fab5084d48cba2e163e2596d.zip
git-dca90031fb777b80fab5084d48cba2e163e2596d.tar.gz
git-dca90031fb777b80fab5084d48cba2e163e2596d.tar.bz2
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 'perl')
0 files changed, 0 insertions, 0 deletions