write_file(): drop caller-supplied LF from calls to create a one-liner file
commit1f76a10b2d72245332ac41bd79249cb82f3946f0
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2015 20:20:39 +0000 (24 13:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Aug 2015 19:49:19 +0000 (25 12:49 -0700)
treefe99b9539117ac164cd05ea50143539c8abf21cd
parente7ffa38c6e726e8014b76297b06f78e008deb2d0
write_file(): drop caller-supplied LF from calls to create a one-liner file

All of the callsites covered by this change call write_file() or
write_file_gently() to create a one-liner file.  Drop the caller
supplied LF and let these callees to append it as necessary.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/init-db.c
builtin/worktree.c
daemon.c
setup.c
submodule.c
transport.c