author | Junio C Hamano <gitster@pobox.com> | |
Sun, 29 Jul 2007 00:20:52 +0000 (17:20 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Jul 2007 06:28:55 +0000 (23:28 -0700) | ||
commit | 283884422f35594db9eab491d3f8c91e49f9d62f | |
tree | d3f171312463d6daa80d4e27e5bc9bd5e6811455 | tree | snapshot |
parent | 0ec29a4760e7c1dd1e168f6dbdd22b87559a26e9 | commit | diff |
symbolic-ref, update-ref: do not refuse reflog message with LF
Earlier these tools refused to create a reflog entry when the
message given by the calling Porcelain had a LF in it, partially
to keep the file format integrity of reflog file, which is
one-entry-per-line. These tools should not be dictating such a
policy.
Instead, let the codepath to write out the reflog entry worry
about the format integrity and allow messages with LF in them.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Earlier these tools refused to create a reflog entry when the
message given by the calling Porcelain had a LF in it, partially
to keep the file format integrity of reflog file, which is
one-entry-per-line. These tools should not be dictating such a
policy.
Instead, let the codepath to write out the reflog entry worry
about the format integrity and allow messages with LF in them.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-symbolic-ref.c | diff | blob | history | |
builtin-update-ref.c | diff | blob | history |