--- Begin Message ---
Subject: |
Re: [Quilt-dev] Re: being nice to patch(1) |
Date: |
Tue, 3 Jul 2007 09:15:39 -0700 |
On Tue, 3 Jul 2007 18:03:15 +0200 Andreas Gruenbacher <address@hidden> wrote:
> On Tuesday 03 July 2007 17:49, Andrew Morton wrote:
> > I guess one could try `patch -p1' and if that failed, `patch -p1 -u'.
>
> Hmm, I'll think about that, thanks.
>
> > But the problem is that patch will get stuck in interactive mode prompting
> > for a filename. I've never actually worked how to make patch(1) just fail
> > rather than going interactive, not that I've tried terribly hard. Any
> > hints there?
>
> Patch -f will turn off those questions.
>
darnit, both `-f' and `-t' work. Sigh. I blame the manpage: too long ;)
Incidentally, the offending patch
(http://userweb.kernel.org/~akpm/git-scsi-misc.patch) sends patch(1) into
an infinite loop with `patch -p1 -f' and `patch -p1 -t'. Presumably
it will do the same when that patch is offered to quilt...
--- End Message ---