[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] Re: being nice to patch(1)
From: |
Andreas Gruenbacher |
Subject: |
Re: [Quilt-dev] Re: being nice to patch(1) |
Date: |
Tue, 3 Jul 2007 15:34:46 +0200 |
User-agent: |
KMail/1.9.5 |
On Tuesday 03 July 2007 02:28, Linus Torvalds wrote:
> So I would suggest that in quilt and other systems, you either:
>
> - strip all headers manually
>
> - forget about "patch", and use "git-apply" instead that does things
> right and doesn't screw up like this (and can do rename diffs etc too).
>
> I guess the second choice generally isn't an option, but dammit,
> "git-apply" really is the better program here.
I'm in bit of a conflict with choice one: when applying patches in an
automated build process or similar, the likely way to do so is a simple loop
over the series file. So the less magic when applying patches with quilt, the
better.
Turning off the insane heuristic with patch -u will do well enough I hope.
Quilt does not use that option by default because it also supports context
diffs (some people / projects prefer them), but that can easily be customized
in .quiltrc:
QUILT_PATCH_OPTS=-u
Andreas
- [Quilt-dev] Re: being nice to patch(1), (continued)
- [Quilt-dev] Re: being nice to patch(1), Theodore Tso, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), Linus Torvalds, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), Paul Eggert, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), Linus Torvalds, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), Linus Torvalds, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), David Kastrup, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), Johannes Schindelin, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), David Kastrup, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), Johannes Schindelin, 2007/07/03
- [Quilt-dev] Re: being nice to patch(1), David Kastrup, 2007/07/03
- Re: [Quilt-dev] Re: being nice to patch(1),
Andreas Gruenbacher <=
- Message not available
- Re: [Quilt-dev] Re: being nice to patch(1), Linus Torvalds, 2007/07/03
- Message not available
- Re: [Quilt-dev] Re: being nice to patch(1), Andreas Gruenbacher, 2007/07/03
- Re: [Quilt-dev] Re: being nice to patch(1), Andrew Morton, 2007/07/03
- Re: [Quilt-dev] Re: being nice to patch(1), Andrew Morton, 2007/07/03