From: 'Yuri' Date: Tue, 11 Jun 2024 01:22:29 GMT Subject: Re: [BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files Message-ID: In-Reply-To: <0eef01dabb9d$70c99690$525cc3b0$@nexbridge.com> On 6/10/24 18:19, rsbecker@nexbridge.com wrote: > That is what I suspected. I am suspecting that git does not see the > .nfsNNNN file when it is performing the clean. I think NFS creates the > file after git does the scan, so as far as git is concerned, there is > no .nfsNNNN file until after the operation completes. NFS puts the > file there independent of git, so git does not even know about it. > Does a second git clean -df . remove the .nfsNNNN file and put a new > one, with a different name, in place? No, *only* the .nfsXXXX file exists in the xx directory when git runs. Yuri