On 2003-05-22 Paul Eggert <[EMAIL PROTECTED]> wrote:
> I just reviewed this bug report again, and it turns out that it's not
> a bug; it's a request for an extension.

> patch has never grokked the output of "diff -rN" unless you put an
> "Index:" line in front of each diff.  Perhaps "patch" could be
> extended to understand "diff -rN" output, but (as the bug report says)
> that's pretty low priority.  I just checked the POSIX spec, and POSIX
> also says that an "Index:" line is required if you want "diff -rN"
> output to work.
[...]

Hello,
Is there a way to make diff generate output which patch can understand,
i.e. including the "Index:" lines?

I just wanted to transfer differences between two filetrees from
machineA to machineB. I wanted to minimze bandwith consumption by
using
diff -rN --ed treeA treeB
or
diff -rN --rcs treeA treeB
to generate the patch. However neither of these is usable as input for
patch.

Afaiu this bugreport the only thing that would have worked is a
context diff, which would have been two times the size.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to