Re: [PATCH v2 13/17] remove_dir_recurse(): handle disappearing files and directories
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 7, 2014, 17:27 UTC
- Message-ID
- <xmqq8uurg0sm.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <52CBD1D5.5080701@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 5 quoted lines
> 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?
Yes; thanks.