author | Junio C Hamano <gitster@pobox.com> | |
Sun, 29 Jul 2007 00:17:17 +0000 (17:17 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Jul 2007 06:28:55 +0000 (23:28 -0700) | ||
commit | 0ec29a4760e7c1dd1e168f6dbdd22b87559a26e9 | |
tree | 6f8d12d493886f399fe941c91091f20ebf98fef2 | tree | snapshot |
parent | 922b0e35b9622d81732f4cb6db4862d17ebf1855 | commit | diff |
log_ref_write() -- do not chomp reflog message at the first LF
A reflog file is organized as one-line-per-entry records, and we
enforced the file format integrity by chomping the given message
at the first LF. This changes it to convert them to SP, which
is more in line with the --pretty=oneline format.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
A reflog file is organized as one-line-per-entry records, and we
enforced the file format integrity by chomping the given message
at the first LF. This changes it to convert them to SP, which
is more in line with the --pretty=oneline format.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history |