quote.c: separate quoting and relative path generation
authorClemens Buchacher <drizzd@aon.at>
Thu, 3 Jun 2010 13:36:31 +0000 (15:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Jun 2010 16:14:13 +0000 (09:14 -0700)
commitb167cffb6b38a092e8f9e0e396c1931ee1dc8b7d
tree458a8e5d26d3377816f23b5e704c8afb322753ee
parentc8b296450e5148c576697ea4709072b7855aacd5
quote.c: separate quoting and relative path generation

This is in preparation of relative path support for ls-files, which
quotes a path only if the line terminator is not the NUL character.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
quote.c
quote.h