]> git.99rst.org Git - git.git/commit
refs/debug: trim trailing LF from reflog message
authorHan-Wen Nienhuys <redacted>
Thu, 2 Dec 2021 17:36:33 +0000 (17:36 +0000)
committerJunio C Hamano <redacted>
Thu, 2 Dec 2021 19:14:08 +0000 (11:14 -0800)
commit65279256f3d3576ff16332d7f0ee124f593cb476
tree73e2cdd1ac57642b869fb9a75649246a2f6c05ae
parent3474b602a5387df459a25c3e35747c11f1b08da7
refs/debug: trim trailing LF from reflog message

On iteration, the reflog message is always terminated by a newline. Trim it to
avoid clobbering the console with is this extra newline.

Signed-off-by: Han-Wen Nienhuys <redacted>
Signed-off-by: Junio C Hamano <redacted>
refs/debug.c
git clone https://git.99rst.org/PROJECT