[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: differencing only header files

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Fri, 22 Jul 2011 16:42:39 -0400

On Fri, Jul 22, 2011 at 4:01 PM, Steve Cohen <scohen_at_javactivity.org> wrote:
> Is there an easy way to restrict svn diff operation to files of a certain
> extension (say .h)?  A quick glance at the manual suggested nothing to me.

Nope: you'd have to parse the output of a "list" command or a local
"find", which shouldn't be hard.

     find . -name .svn -type d -prune -o -type f -name \*\.h -print | sort

Should give you a good list on a Linux or UNIX box should give you a
handy alphabetical list to work with
Received on 2011-07-22 22:43:16 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.