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

Re: [PATCH] git-mv.perl: use stderr for error output and cleanup

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Jan 6, 2006, 22:55 UTC
Message-ID
<86wthd7ypx.fsf@blue.stonehenge.com>
In-Reply-To
<7vek3lq8wu.fsf@assigned-by-dhcp.cox.net>
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
Junio> So I'd prefer not touching for (@df) { print H "$_\n" } loops.
Being as I'm a *bit* familiar with Perl, I'd write that as:
  print H "$_\0" for @deletedfiles;

if you want to write "for" as "foreach", I wouldn't complain either. After all, that's spelled "f o r", but pronounced "foreach". :)

-- 
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!
Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 14 in “git-mv.perl: use stderr for error output and cleanup”
  1. git-mv.perl: use stderr for error output and cleanupAlex Riesen, Jan 5, 2006
  2. Junio C HamanoJan 6, 2006
  3. Randal L. SchwartzJan 6, 2006
  4. Linus TorvaldsJan 6, 2006
  5. Randal L. SchwartzJan 6, 2006
  6. Linus TorvaldsJan 7, 2006
  7. Junio C HamanoJan 7, 2006
  8. Alex RiesenJan 7, 2006
  9. Junio C HamanoJan 7, 2006
  10. Alex RiesenJan 10, 2006
  11. Randal L. SchwartzJan 7, 2006
  12. Junio C HamanoJan 7, 2006
  13. Andreas EricssonJan 8, 2006
  14. Alex RiesenJan 10, 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.