Make private quote_path() in wt-status.c available as quote_path_relative()
authorDmitry Potapov <dpotapov@gmail.com>
Fri, 7 Mar 2008 02:30:58 +0000 (05:30 +0300)
committerJunio C Hamano <gitster@pobox.com>
Sat, 8 Mar 2008 05:22:25 +0000 (21:22 -0800)
commita734d0b10bd0f5554abb3acdf11426040cfc4df0
treec5a2aa55520903d376121336f00679bc0780529c
parent79418599e7221ef10641cf9cc07018c25b4d0310
Make private quote_path() in wt-status.c available as quote_path_relative()

Move quote_path() from wt-status.c to quote.c and rename it as
quote_path_relative(), because it is a better name for a public function.

Also, instead of handcrafted quoting, quote_c_style_counted() is now used,
to make its quoting more consistent with the rest of the system, also
honoring core.quotepath specified in configuration.

Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
quote.c
quote.h
wt-status.c