Possibly a dumb question, but googling doesn't seem to show up an
answer.

How do I get vim to do copy-on-write of files?

I'm doing some rudimentary source management with cp -al foo foo-hck
and expecting that when I edit foo-hck/bar.pm that it'll do what emacs
does, write a new file called bar.pm in foo-hck, but instead it
doesn't disturb the hardlink at all and so modifies the pristine
version of the file too.

Yes I know the simplest answer is to use emacs because it's sane, but
I'm trying to not disturb any of the tabbing going on in the original
so I can produce the smallest possible patch (diff -b would still make
my amended lines have distorted layout)  I've already hacked the code,
now I'm crafting a patch.

-- 
Richard Clamp <[EMAIL PROTECTED]>

Reply via email to