From: Junio C Hamano Date: Mon, 10 Jun 2024 19:58:32 GMT Subject: Re: [BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files Message-ID: In-Reply-To: Yuri writes: > NFS sometimes leaves files like .nfsXXXXXXXXXXX which usually means > that some process that has this file open is alive. Yes, and from everybody's point of view, including "git", a directory with such a file is not yet empty. > "git clean -df ." was supposed to remove the folder where such file is > located, but it encountered the failure, and silently ignored it and > succeeded. So "was supposed to remove" above is not quite correct. Where did such a piece of misinformation come from?