30526Re: [PATCH] New option for breaking hard links when saving files
- Dec 1, 2002On 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  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?
Today's subliminal thought is:
- << Previous post in topic