Files
git/builtin
Peter Collingbourne 80d706afed Introduce remove_or_warn function
This patch introduces the remove_or_warn function which is a
generalised version of the {unlink,rmdir}_or_warn functions.  It takes
an additional parameter indicating the mode of the file to be removed.

The patch also modifies certain functions to use remove_or_warn
where appropriate, and adds a test case for a bug fixed by the use
of remove_or_warn.

Signed-off-by: Peter Collingbourne <peter@pcc.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-03-28 09:53:04 -07:00
..
2010-03-10 15:32:02 -08:00
2010-03-28 09:53:04 -07:00
2010-03-13 21:31:42 -08:00
2010-03-15 00:58:42 -07:00
2010-03-24 16:26:43 -07:00
2010-03-20 11:29:19 -07:00
2010-03-20 11:29:36 -07:00
2010-03-10 15:32:43 -08:00
2010-03-24 16:26:43 -07:00
2010-03-10 15:32:34 -08:00
2010-03-24 16:26:43 -07:00
2010-03-15 00:58:42 -07:00
2010-03-20 11:29:35 -07:00
2010-03-15 00:58:24 -07:00
2010-03-10 15:25:18 -08:00