Code

git-status: quote LF in its output
authorJunio C Hamano <junkio@cox.net>
Wed, 8 Nov 2006 21:20:46 +0000 (13:20 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 8 Nov 2006 21:20:46 +0000 (13:20 -0800)
commit3a946802bb2c1106d12861849414f66fdba62303
treee800ff10466f688985d9ff1b6fe2dadfc186d101
parent2b2a8c78ea26791853cbedad3ba282475c620067
git-status: quote LF in its output

Otherwise, commit log template would get the remainder of the
filename start on a new line unquoted and the log gets messed
up.

I initially considered using the full quote_c_style(), but the
output from the command is primarily for human consumption so
chose to leave other control characters and bytes with high-bits
unmolested.

Signed-off-by: Junio C Hamano <junkio@cox.net>
wt-status.c