git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jason Riedy <ejr@eecs.berkeley.edu>
Date
Feb 11, 2006, 00:17 UTC
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
Previous: Randal L. Schwartz
Message 3 of 3 in “Use File::Find rather than find and xargs in git-archimport”
  1. 2/3 Use File::Find rather than find and xargs in git-archimportJason Riedy, Feb 10, 2006
  2. Randal L. SchwartzFeb 10, 2006
  3. Jason RiedyFeb 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.