Re: [Quilt-dev] Re: being nice to patch(1)
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 3, 2007, 16:03 UTC
- Message-ID
- <alpine.LFD.0.98.0707030901310.9434@woody.linux-foundation.org>
- In-Reply-To
- <20070703084926.2e834aa5.akpm@linux-foundation.org>
On Tue, 3 Jul 2007, Andrew Morton wrote:
Show 5 quoted lines
> > 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 -t" (or "--batch") should do it, I suspect.
But even with "patch -tu -p1" you do seem to end up having patch notice indented patch fragments (ie things that obviously are *not* part of the patch, but some explanation).
Linus