Thread (13 messages) flat view 13 messages, 3 authors, 2016-06-15

Re: [PATCH v2 6/9] Add a mode parameter to the remove_path function

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:36

Peter Collingbourne [off-list ref] writes:
This patch adds a mode parameter to remove_path which determines
whether unlink or rmdir is used.  All calls to remove_path have
been modified to supply the mode parameter.

This patch also adds a test case for a bug fixed by the addition
of the mode parameter to remove_path.
When the mode of the thing on the filesystem doesn't match with what your
callers expect (e.g. the caller "merge-recursive" thought there should be
a gitlink but the filesystem actually had a plain file there), what should
happen?  What happens with your patch?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help