summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed296fe)
raw | patch | inline | side by side (parent: ed296fe)
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Mon, 15 Nov 2010 10:12:44 +0000 (17:12 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 16 Nov 2010 18:22:37 +0000 (10:22 -0800) |
qname is the result of quote_path_relative(), which does
quote_c_style_counted() internally. Remove the hard-coded quotes.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
quote_c_style_counted() internally. Remove the hard-coded quotes.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c | patch | blob | history |
diff --git a/builtin/clean.c b/builtin/clean.c
index c8798f549ed12192a098ab90b35c0437b8059351..8f602c9f4174975597601fc1c0c2d26ccc51edbe 100644 (file)
--- a/builtin/clean.c
+++ b/builtin/clean.c
printf("Removing %s\n", qname);
if (remove_dir_recursively(&directory,
rm_flags) != 0) {
- warning("failed to remove '%s'", qname);
+ warning("failed to remove %s", qname);
errors++;
}
} else if (show_only) {
printf("Removing %s\n", qname);
}
if (unlink(ent->name) != 0) {
- warning("failed to remove '%s'", qname);
+ warning("failed to remove %s", qname);
errors++;
}
}