From: Thomas Glanzmann Date: Mon, 16 Jul 2007 20:39:50 GMT Subject: Re: [PATCH] Do _not_ call unlink on a directory Message-ID: <20070716203950.GI16878@cip.informatik.uni-erlangen.de> In-Reply-To: Hello, > No, but we don't *want* the "rmdir for directories" part! that is what I meant. We call unlink because we want unlink to _fail_ on directories while it deletes file. I forgot about the original discussion but Johannes refreshed my memory. If a file in our history becomes a directory we want to get it out of our way. And we want to do that by call unlink. Thomas