On 6/10/24 14:37, Junio C Hamano wrote:
But .nfs* files are not something you as an application are not
supposed to touch, so a directory that still contains one cannot be
removed, either. It's a limitation (I wouldn't call it a "bug") of
NFS. You can kill the process (or wait until they exit) holding the
file open and then run "clean -df" again, perhaps.
With the '-f' the user tells git to remove all, and if this doesn't work
git should tell the user that this didn't work for the .nfsNNNNNNN file
and for the directory as well.
Why is git quiet about leaving the files. It should complain.
Or maybe there should be a verbosity option, like -v 10, that would make
git complain about such things.
Thanks,
Yuri