author | Junio C Hamano <gitster@pobox.com> | |
Wed, 14 Oct 2009 18:51:03 +0000 (11:51 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 15 Oct 2009 06:47:03 +0000 (23:47 -0700) | ||
commit | fe0a3cb23c7930be419937825591388465ceb47f | |
tree | 722c7746cc498a2d190daef0716e8a0e2aa2a369 | tree | snapshot |
parent | ba7e81430a32614982172c7064c01db43f55b4bb | commit | diff |
info/grafts: allow trailing whitespaces at the end of line
When creating an info/grafts under windows, one typically gets a CRLF file.
There is no good reason to forbid trailing CR at the end of the line (for
that matter, any trailing whitespaces); the code allowed only LF simply
because that was good enough for the platforms with LF line endings.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When creating an info/grafts under windows, one typically gets a CRLF file.
There is no good reason to forbid trailing CR at the end of the line (for
that matter, any trailing whitespaces); the code allowed only LF simply
because that was good enough for the platforms with LF line endings.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c | diff | blob | history |