[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-patch] [request] Add option -I <regexp> for matching context

From: Andreas Gruenbacher
Subject: Re: [bug-patch] [request] Add option -I <regexp> for matching context
Date: Tue, 29 Dec 2009 19:01:08 +0100
User-agent: KMail/1.12.2 (Linux/; KDE/4.3.1; i686; ; )

On Thursday 12 November 2009 09:00:08 Urs Thuermann wrote:
> [...]
> I would like to see an option -I with an regexp argument, that,
> similar to diff, considers lines in the file to be patched and lines
> in the patch to be matching, if they match the regular expression.
> In the example above, you could then call patch as follows
>         svn diff -c2 foo | patch -I '$Id.*$' foo
> to apply the patch successfully.  My current (somewhat risky)
> workaround patch -F3 could then be avoided.

This sounds reasonable to me.  Would you mind adding this feature request to 
the bug list?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]