From: Jason Riedy Date: Sat, 11 Feb 2006 00:17:00 GMT Subject: Re: [PATCH 2/3] Use File::Find rather than find and xargs in git-archimport Message-ID: <1939.1139617020@lotus.CS.Berkeley.EDU> In-Reply-To: <86k6c2ojx6.fsf@blue.stonehenge.com> And Randal L. Schwartz writes: - Jason> + if (-f && !-z && /^.*\.patch$/ && !/{arch}/) { - - If that works, it's only accidentally. Thanks! Not only is the regex wrong, it's applied to the wrong quantity. Should be on $File::Find::dir. Looks like the repos I tested against didn't have any Arch state patches. I'll fix this, test it on a nastier set of repos, and re- send. It'll be an hour or so, at least. Jason