author | Dmitry Potapov <dpotapov@gmail.com> | |
Fri, 7 Mar 2008 01:13:17 +0000 (04:13 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 Mar 2008 05:22:37 +0000 (21:22 -0800) | ||
commit | 1fb328947c8e3ace9df7d2d5374e26e2510a4e93 | |
tree | 6b4f4d636397d6cb44bad99aea7c05d91d4fe3ec | tree | snapshot |
parent | a734d0b10bd0f5554abb3acdf11426040cfc4df0 | commit | diff |
git-clean: correct printing relative path
When the given path contains '..' then git-clean incorrectly printed names
of files. This patch changes cmd_clean to use quote_path_relative().
Also, "failed to remove ..." message used absolutely path, but not it is
corrected to use relative path.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When the given path contains '..' then git-clean incorrectly printed names
of files. This patch changes cmd_clean to use quote_path_relative().
Also, "failed to remove ..." message used absolutely path, but not it is
corrected to use relative path.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clean.c | diff | blob | history |