Re: [PATCH v14 03/16] quote.c: remove path_relative, use relative_path instead

2013-06-25 Thread Jiang Xin
2013/6/25 Junio C Hamano gits...@pobox.com: Jiang Xin worldhello@gmail.com writes: Since there is an enhanced version of relative_path() in path.c, remove duplicate counterpart path_relative() in quote.c. There is no nice comparison chart before and after like you had in patch 02/16?

Re: [PATCH v14 03/16] quote.c: remove path_relative, use relative_path instead

2013-06-25 Thread Junio C Hamano
Jiang Xin worldhello@gmail.com writes: 2013/6/25 Junio C Hamano gits...@pobox.com: Jiang Xin worldhello@gmail.com writes: Since there is an enhanced version of relative_path() in path.c, remove duplicate counterpart path_relative() in quote.c. There is no nice comparison chart

[PATCH v14 03/16] quote.c: remove path_relative, use relative_path instead

2013-06-24 Thread Jiang Xin
Since there is an enhanced version of relative_path() in path.c, remove duplicate counterpart path_relative() in quote.c. Signed-off-by: Jiang Xin worldhello@gmail.com Signed-off-by: Junio C Hamano gits...@pobox.com --- quote.c | 55 ++- 1

Re: [PATCH v14 03/16] quote.c: remove path_relative, use relative_path instead

2013-06-24 Thread Junio C Hamano
Jiang Xin worldhello@gmail.com writes: Since there is an enhanced version of relative_path() in path.c, remove duplicate counterpart path_relative() in quote.c. There is no nice comparison chart before and after like you had in patch 02/16? void write_name_quoted_relative(const char