Implement the rmdir_or_warn function
commitd1723296af67e6bbadf6e73cd1e921aefafe491f
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 26 Mar 2010 15:25:33 +0000 (26 15:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Mar 2010 16:53:01 +0000 (28 09:53 -0700)
tree4a998c1b3da5b4848945eaede735518502c1c281
parent10e13ec8ed36019d131d27cd9fe2e8cc0f99b896
Implement the rmdir_or_warn function

This patch implements an rmdir_or_warn function (like unlink_or_warn
but for directories) that uses the generalised warning code in
warn_if_unremovable.

Signed-off-by: Peter Collingbourne <peter@pcc.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h
wrapper.c