Loading ...
Sorry, an error occurred while loading the content.

30526Re: [PATCH] New option for breaking hard links when saving files

Expand Messages
  • Piet Delport
    Dec 1, 2002
    • 0 Attachment
      On Sat, 30 Nov 2002 at 20:11:22 +0100, Guillermo Ontañón wrote:
      > The patch below adds a new option to Vim called 'breakhlinks', with this
      > option activated, Vim will check if the file to be saved is a hard link,
      > if so, it will break the link.
      > This option is useful in some situations, as an example, one of the
      > recommended ways [1] of making diffs to the linux kernel is to create a
      > hard-linked copy of the kernel tree and let the editor break the link
      > when modifying a file, leaving all other files as links but the modified
      > ones as real copies. In the case of the linux kernel, doing things this
      > way saves a lot of disk space.

      This is probably a stupid question, but what does this option achieve
      that :set bkc=no doesn't already?

      Piet Delport
      Today's subliminal thought is:
    • Show all 2 messages in this topic