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

Re: [PATCH] Add script for importing bits-and-pieces to Git.

From
Thomas Adam <thomas.adam22@gmail.com>
Date
Aug 23, 2009, 20:28 UTC
Message-ID
<18071eea0908231328r58b0e22ap20e664d2904420a0@mail.gmail.com>
In-Reply-To
<20090823201624.206F52FC20@perkele>
2009/8/23 Peter Krefting <peter@softwolves.pp.se>:
> +       my (undef, undef, undef, undef, undef, undef,
> +               undef, $size, undef, $time, undef, undef, undef) = stat FILE;
Minor nit.  Better written as:
my ($size, $mtime) = (stat(FILE))[7,9];
-- Thomas Adam
Previous: Peter KreftingNext: Peter Krefting
Message 2 of 4 in “Add script for importing bits-and-pieces to Git.”
  1. Add script for importing bits-and-pieces to Git.Peter Krefting, Aug 23, 2009
  2. Thomas AdamAug 23, 2009
  3. Peter KreftingAug 24, 2009
  4. Randal L. SchwartzAug 24, 2009

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.