summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-01-14 13:34:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-15 10:12:58 -0800
commit7e07ed84186d4047b39a4e9047d41df0322c7338 (patch)
treeb16614446a1edb44cbff84b88da732cbe3f78470 /builtin/commit-tree.c
parentcheck-ignore: there are only two possible line terminations (diff)
downloadtgif-7e07ed84186d4047b39a4e9047d41df0322c7338.tar.xz
update-index: 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 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions