author | Miklos Vajna <vmiklos@frugalware.org> | |
Thu, 21 Feb 2008 01:44:46 +0000 (02:44 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 21 Feb 2008 04:21:39 +0000 (20:21 -0800) | ||
commit | aa9c83c2197cafb884face711ab7235790f9f265 | |
tree | 73af0cf70fbe2d88878b6d1e510eb9c293cc35d1 | tree | snapshot |
parent | b23b27eb5dc950081d4f76ae84f10168c4d149bd | commit | diff |
git-clean: handle errors if removing files fails
git-clean simply ignored errors if removing a file or directory failed. This
patch makes it raise a warning and the exit code also greater than zero if
there are remaining files.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-clean simply ignored errors if removing a file or directory failed. This
patch makes it raise a warning and the exit code also greater than zero if
there are remaining files.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clean.c | diff | blob | history | |
t/t7300-clean.sh | diff | blob | history |