From: Peter Collingbourne Date: Fri, 26 Mar 2010 15:25:32 +0000 (+0000) Subject: Generalise the unlink_or_warn function X-Git-Tag: v1.7.2-rc0~160^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/10e13ec8ed36019d131d27cd9fe2e8cc0f99b896?hp=10e13ec8ed36019d131d27cd9fe2e8cc0f99b896 Generalise the unlink_or_warn function This patch moves the warning code of the unlink_or_warn function into a separate function named warn_if_unremovable so that it may be reused. Signed-off-by: Peter Collingbourne Signed-off-by: Junio C Hamano ---