summaryrefslogtreecommitdiff
path: root/builtin/rm.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-14 00:14:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-01-15 18:12:58 (GMT)
commita392f57daf7dc5e72ab3ada7802eddc000fa3081 (patch)
tree9b58948885bd756563aef6e615d8020252b2c1d8 /builtin/rm.c
parent7e07ed84186d4047b39a4e9047d41df0322c7338 (diff)
downloadgit-a392f57daf7dc5e72ab3ada7802eddc000fa3081.zip
git-a392f57daf7dc5e72ab3ada7802eddc000fa3081.tar.gz
git-a392f57daf7dc5e72ab3ada7802eddc000fa3081.tar.bz2
checkout-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/rm.c')
0 files changed, 0 insertions, 0 deletions