Re: .swp files

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

 



On Tue, Sep 21, 2021 at 03:27:01PM -0500, S R Wright wrote:

> When git creates index.lock in the local .git directory,  does it also
> create .index.lock.swp (or any other .swp file)?  If so, can this behaviour
> be disabled?  VIM does this,  but it can be disabled.  Thanks!

No, it doesn't. Git will create index.lock, and then rename it into
place as "index" when its fully written. If something is creating a
".swp" variant, it is outside of Git (e.g., if somebody opened the file
with vim).

-Peff



[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