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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html