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

Re: [PATCH] git-mv is not able to handle big directories

From
RARyan Anderson <ryan@michonline.com>
Date
Nov 23, 2005, 13:56 UTC
Message-ID
<20051123135604.GB16995@mythryan2.michonline.com>
In-Reply-To
<7vu0e369p4.fsf@assigned-by-dhcp.cox.net>
On Wed, Nov 23, 2005 at 12:37:59AM -0800, Junio C Hamano wrote:
Show 21 quoted lines
> merlyn@stonehenge.com (Randal L. Schwartz) writes:
> 
> >>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
> >
> > Junio>             open my $oh, qw(|- git-update-index -z --stdin)
> > Junio>                     or die "oops";
> >
> > This is Perl 5.6 or later.  Breaks on Perl 5.5, which is still in use
> > in some places.
> 
> I should have known better than posting Perl code to the list
> where a real guru is lurking and making afool of myself ;-).
> 
> Thanks for the advice.  How much do we care about 5.5?  IOW, is
> "in some places" wide enough to matter?
> 
> git-cvsimport, git-svnimport and git-shortlog share the same
> problem (svnimport declares that it wants 5.8).  perl58delta.pod
> does say list form of open for pipes is new in that version.  So
> what I wrote above requires 5.8 or better, perhaps?  cvsimport
> uses that same structure.  That is doubly Ouch.

No, you're not using the list form for pipes. I use that in git-graft-ripple:

	open(P,"-|","git-rev-list","--parents","--merge-order",$range)

For the kernel, requiring 5.8 shouldn't be a big issue. I suspect it's really only the commercial Unixes where requiring 5.8 would be annoying.

Randal, is my guess even remotely accurate?
-- 
Ryan Anderson
  sometimes Pug Majere
Previous: Junio C HamanoNext: Randal L. Schwartz
Message 6 of 23 in “git-mv is not able to handle big directories”
  1. git-mv is not able to handle big directoriesAlexander Litvinov, Nov 23, 2005
  2. Junio C HamanoNov 23, 2005
  3. Junio C HamanoNov 23, 2005
  4. Randal L. SchwartzNov 23, 2005
  5. Junio C HamanoNov 23, 2005
  6. Ryan AndersonNov 23, 2005
  7. Perl version support (was Re: [PATCH] git-mv is not able to handle big directories)Randal L. Schwartz, Nov 23, 2005
  8. Junio C HamanoNov 23, 2005
  9. Randal L. SchwartzNov 23, 2005
  10. H. Peter AnvinNov 23, 2005
  11. Randal L. SchwartzNov 23, 2005
  12. Morten WelinderNov 23, 2005
  13. Ryan AndersonNov 28, 2005
  14. Andreas EricssonNov 28, 2005
  15. Junio C HamanoNov 23, 2005
  16. Ryan AndersonNov 23, 2005
  17. Alexander LitvinovNov 23, 2005
  18. Andreas EricssonNov 23, 2005
  19. Alexander LitvinovNov 23, 2005
  20. Alexander LitvinovNov 23, 2005
  21. Josef WeidendorferNov 23, 2005
  22. Josef WeidendorferNov 23, 2005
  23. Randal L. SchwartzNov 23, 2005

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.