[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] Does anyone know why ...
From: |
John Vandenberg |
Subject: |
Re: [Quilt-dev] Does anyone know why ... |
Date: |
Sat, 4 Mar 2006 08:47:32 +1100 |
On 3/4/06, Andreas Gruenbacher <address@hidden> wrote:
> On Thursday, 02 March 2006 07:25, Peter Williams wrote:
> > ... "quilt files <patch>" produces empty output when <patch> is not
> > applied? Was this a deliberate design decision? If so what was the
> > logic behind it?
>
> The current version of quilt will tell you that the specified patch is not
> applied; it doesn't fail silently.
>
> Quilt won't try to list the files that an unapplied patch touches because this
> can't be done very well: GNU patch uses complicated heuristics to decide
> which filename it will patch (see Multiple Patches in a File in the diff info
> pages). You can use utilities like lsdiff for that purpose, but lsdiff will
> also guess wrong for some patches.
Andreas, how accurate is the heuristics in patches.in
touched_by_patch() ? Could we use that for files.in, or would it be
better to introduce a soft dependency on patchutils ?
--
John