author | Peter Collingbourne <peter@pcc.me.uk> | |
Fri, 26 Mar 2010 15:25:32 +0000 (15:25 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 28 Mar 2010 16:52:59 +0000 (09:52 -0700) | ||
commit | 10e13ec8ed36019d131d27cd9fe2e8cc0f99b896 | |
tree | c39ebffe0c0eb75797c3d30754ecdfb13a188bb9 | tree | snapshot |
parent | 5e4f61474202122f376b16181b760f390623bf4e | commit | diff |
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 <peter@pcc.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
wrapper.c | diff | blob | history |