Thread (13 messages) flat view 13 messages, 3 authors, 2016-06-15

Re: Re: being nice to patch(1)

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2016-06-15 22:43:19

On Tue, 3 Jul 2007 18:03:15 +0200 Andreas Gruenbacher [off-list ref] wrote:
On Tuesday 03 July 2007 17:49, Andrew Morton wrote:
quoted
I guess one could try `patch -p1' and if that failed, `patch -p1 -u'.
Hmm, I'll think about that, thanks.
quoted
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...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help