that's right. I will not bet against it (although I owe you lot of beers for again and again finding style-nits and serious problems in my code. Never ever was my code so well reviewed).

I was thinking about removing this method. We already walked over every single file and folder in the workTree. We should know the pathes of empty folders. But a first tryout grew too complicated and I wrote it down on the todo list.

I more and more think it was a mistake to copy WorkDircheckout and create DirCacheCheckout from that copy. I was overwhelmed by so many topics that I thought this would save me some effort. But understanding WorkDirCheckout and writing DirCachecheckout from scratch would have been better because I wouldn't copy all that strange code.