Re: [PATCH] git-mv is not able to handle big directories
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 23, 2005, 06:32 UTC
- Message-ID
- <7vk6ez7u1y.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7voe4b7uw7.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 6 quoted lines
> Two comments. > > (1) the argument limit is enforced by the operating system in > ... > (2) I wonder if we can detect this particular failure case and > ...
(3) Even better, 'git-update-index -z --stdin'
if (@changedfiles) {
open my $oh, qw(|- git-update-index -z --stdin)
or die "oops";
for (@changedfiles) {
print $oh "$_\0";
}
close $oh;
}JC "added too many features that myself cannot remember" Hamano