Generalise the unlink_or_warn function
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 26 Mar 2010 15:25:32 +0000 (15:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Mar 2010 16:52:59 +0000 (09:52 -0700)
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 <peter@pcc.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found