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

Re: [PATCH] submodule deinit: clarify work tree removal message

From: Phil Hord <hidden>
Date: 2016-06-15 22:56:51

Possibly related (same subject, not in this thread)

On Mon, Apr 1, 2013 at 3:02 PM, Jens Lehmann [off-list ref] wrote:
Okay, so here is the patch for that. If someone could point out
a portable and efficient way to check if a directory is already
empty I would be happy to use that to silence the "Cleaned
directory" message currently printed also when deinit is run on
an already empty directory.
   isemptydir() {
        test -d "$(find $1 -maxdepth 0 -empty)"
   }

Sorry for the late reply.  I see this patch is already in master
(which is fine with me).

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