diff options
| author | Dmitry Potapov <dpotapov@gmail.com> | 2008-03-07 04:13:17 +0300 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-03-07 21:22:37 -0800 |
| commit | 1fb328947c8e3ace9df7d2d5374e26e2510a4e93 (patch) | |
| tree | 6b4f4d636397d6cb44bad99aea7c05d91d4fe3ec /diff.c | |
| parent | Make private quote_path() in wt-status.c available as quote_path_relative() (diff) | |
| download | git-1fb328947c8e3ace9df7d2d5374e26e2510a4e93.tar.gz git-1fb328947c8e3ace9df7d2d5374e26e2510a4e93.zip | |
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>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions
