public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: merlyn@stonehenge•com (Randal L. Schwartz)
To: Jason Riedy <ejr@EECS•Berkeley.EDU>
Cc: git@vger•kernel.org
Subject: Re: [PATCH 2/3] Use File::Find rather than find and xargs in  git-archimport
Date: 10 Feb 2006 15:47:49 -0800	[thread overview]
Message-ID: <86k6c2ojx6.fsf@blue.stonehenge.com> (raw)
In-Reply-To: <1103.1139614557@lotus.CS.Berkeley.EDU>

>>>>> "Jason" == Jason Riedy <ejr@EECS•Berkeley.EDU> 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
<merlyn@stonehenge•com> <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!

  reply	other threads:[~2006-02-10 23:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 23:35 [PATCH 2/3] Use File::Find rather than find and xargs in git-archimport Jason Riedy
2006-02-10 23:47 ` Randal L. Schwartz [this message]
2006-02-11  0:17   ` Jason Riedy
  -- strict thread matches above, loose matches on Subject: below --
2006-02-11  2:52 Jason Riedy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86k6c2ojx6.fsf@blue.stonehenge.com \
    --to=merlyn@stonehenge$(echo .)com \
    --cc=ejr@EECS$(echo .)Berkeley.EDU \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox