Thread (59 messages) 59 messages, 4 authors, 2022-08-16

Re: [PATCH v1 6/7] mv: from in-cone to out-of-cone

From: Shaoxuan Yuan <hidden>
Date: 2022-08-04 08:40:25

On 7/20/2022 2:14 AM, Derrick Stolee wrote:
 >> +                if ((mode & INDEX) && is_empty_dir(src_dir))
 >> +                    rmdir_or_warn(src_dir);
 >
 > This is an interesting cleanup of the first-level directory. Should it be
 > recursive and clean up an entire chain of paths?

Indeed. I'm planning to use an array to record the possible `src_dir`,
i.e. WORKING_DIRECTORYs in `git-mv`, and use a loop to cleanup the
empty directories recursively.

--
Thanks,
Shaoxuan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help