summaryrefslogtreecommitdiff
path: root/mergetools/codecompare
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-14 21:26:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-01-15 18:12:58 (GMT)
commitf418afa98afb15afb8f93fe1ab11d5b83266d17d (patch)
tree62ac08b21b5b6f9134d1ca84d9c0eb290d060bca /mergetools/codecompare
parentb4df87b8ca3b9cf8e648058af4870cfc7305b082 (diff)
downloadgit-f418afa98afb15afb8f93fe1ab11d5b83266d17d.zip
git-f418afa98afb15afb8f93fe1ab11d5b83266d17d.tar.gz
git-f418afa98afb15afb8f93fe1ab11d5b83266d17d.tar.bz2
check-attr: 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 'mergetools/codecompare')
0 files changed, 0 insertions, 0 deletions