diff options
author | Dmitry Potapov <dpotapov@gmail.com> | 2008-03-07 05:30:58 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-07 21:22:25 -0800 |
commit | a734d0b10bd0f5554abb3acdf11426040cfc4df0 (patch) | |
tree | c5a2aa55520903d376121336f00679bc0780529c /upload-pack.c | |
parent | Revert part of d089eba (setup: sanitize absolute and funny paths in get_paths... (diff) | |
download | tgif-a734d0b10bd0f5554abb3acdf11426040cfc4df0.tar.xz |
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>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions