[BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



NFS sometimes leaves files like .nfsXXXXXXXXXXX which usually means that some process that has this file open is alive.


"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.


Desired behavior: "git clean -df ." should notify the user with warnings or errors for each such file that it failed to remove.


When "git clean -df ." succeeded I ran the next command and it failed because of the still-present folder with the .nfsXXXXXXXXX file in it.


I believe that this is a bug in git.


git-2.38.1



Thanks,

Yuri






[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux