Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 28, 2010
  1. @pcc @gitster

    Introduce remove_or_warn function

    pcc authored gitster committed
    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>
  2. @pcc @gitster

    Implement the rmdir_or_warn function

    pcc authored gitster committed
    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>
Something went wrong with that request. Please try again.