Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-14 02:55:12 +0300
committerJunio C Hamano <gitster@pobox.com>2016-01-15 21:12:58 +0300
commitb4df87b8ca3b9cf8e648058af4870cfc7305b082 (patch)
tree33864eadfc53ca1975cab7b90f87b99bf52f444a /builtin/check-attr.c
parent8f309aeb8225a9c26f20c0dbc031f1ea8df75d49 (diff)
mktree: 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/check-attr.c')
0 files changed, 0 insertions, 0 deletions