Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge branch 'ak/cvsserver-stabilize-use-of-hash-keys'
Browse files Browse the repository at this point in the history
* ak/cvsserver-stabilize-use-of-hash-keys:
  cvsserver: Determinize output to combat Perl 5.18 hash randomization
  • Loading branch information
gitster committed Nov 4, 2013
2 parents a3a9cff + 9462953 commit ec787db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions git-cvsserver.perl
Expand Up @@ -430,10 +430,10 @@ sub req_validrequests

$log->debug("req_validrequests");

$log->debug("SEND : Valid-requests " . join(" ",keys %$methods));
$log->debug("SEND : Valid-requests " . join(" ",sort keys %$methods));
$log->debug("SEND : ok");

print "Valid-requests " . join(" ",keys %$methods) . "\n";
print "Valid-requests " . join(" ",sort keys %$methods) . "\n";
print "ok\n";
}

Expand Down Expand Up @@ -2124,7 +2124,7 @@ sub req_diff
print "M retrieving revision $meta2->{revision}\n"
}
print "M diff ";
foreach my $opt ( keys %{$state->{opt}} )
foreach my $opt ( sort keys %{$state->{opt}} )
{
if ( ref $state->{opt}{$opt} eq "ARRAY" )
{
Expand Down Expand Up @@ -4050,7 +4050,7 @@ sub update
close FILELIST;

# Detect deleted files
foreach my $file ( keys %$head )
foreach my $file ( sort keys %$head )
{
unless ( exists $seen_files->{$file} or $head->{$file}{filehash} eq "deleted" )
{
Expand Down Expand Up @@ -4078,7 +4078,7 @@ sub update
}

$self->delete_head();
foreach my $file ( keys %$head )
foreach my $file ( sort keys %$head )
{
$self->insert_head(
$file,
Expand Down

0 comments on commit ec787db

Please sign in to comment.