Subject: Re: [PATCH 2/3] Use File::Find rather than find and xargs in git-archimport

From: [email-masked] (Randal L. Schwartz)
Date: 10 Feb 2006 15:47:49 -0800

>>>>> "Jason" == Jason Riedy <[email-masked]> writes:

Jason> +	if (-f && !-z && /^.*\.patch$/ && !/{arch}/) {

If that works, it's only accidentally.  Perhaps you wanted !/\{arch\}/ because
curlies are special to regex.  Dunno, because I don't know what you're
excluding.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email-masked]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!