Re: [PATCH v2 13/17] remove_dir_recurse(): handle disappearing files and directories
From: Junio C Hamano <hidden> Date: 2016-06-15 22:59:37
Michael Haggerty [off-list ref] writes:
I'm not sure I understand your point. Please note that the
REMOVE_DIR_KEEP_TOPLEVEL bit is cleared from flags before this function
recurses. So in recursive invocations, keep_toplevel will always be
false, and the rmdir(path->buf) codepath will be permitted. Does that
answer your question?