|
From: | Daniel Hilst Selli |
Subject: | [bug-diffutils] bug#18641: bug#18641: [PATCH] diff: Add --only=REGEX option to parse only files that match REGEX |
Date: | Mon, 06 Oct 2014 13:33:25 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
On 10/06/2014 09:45 AM, Eric Blake wrote:
On 10/05/2014 02:05 PM, Daniel Hilst Selli wrote:I run to this problem some time ago. I need to parse to trees, but only the source files (*.[hcS]). I see some find solutions, but that don't work for me since I have new files created on modified tree. Best solution would be patch diff. So here I am.This feels like feature bloat. What's wrong with using 'find' to locate the subset of files you are interested in, then running diff on those files?
I would need to find every file that, exist on one tree and not on another. This mean getting a list of files on two trees and comparing, what is complex, error prone and slower.
[Prev in Thread] | Current Thread | [Next in Thread] |