clean: use warning_errno() when appropriate
commitcccf97d6ca90fc06ba7680cbbac440763f3e9831
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 14 Feb 2017 09:54:49 +0000 (14 16:54 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Feb 2017 21:40:10 +0000 (16 13:40 -0800)
tree35874e79963c926eff2c3b7e469c099a5304d444
parent3b9e3c2cede15057af3ff8076c45ad5f33829436
clean: use warning_errno() when appropriate

All these warning() calls are preceded by a system call. Report the
actual error to help the user understand why we fail to remove
something.

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