Show eval input changes in deterministic order

This commit is contained in:
Eelco Dolstra 2015-02-25 13:13:12 +01:00
parent 7c048cbbcf
commit 9282bcb95f

View file

@ -260,7 +260,7 @@ sub getEvals {
# Compute what inputs changed between each eval. # Compute what inputs changed between each eval.
my @changedInputs; my @changedInputs;
foreach my $input (values %{$curInfo->{inputs}}) { foreach my $input (sort { $a->name cmp $b->name } values(%{$curInfo->{inputs}})) {
my $p = $prevInfo->{inputs}->{$input->name}; my $p = $prevInfo->{inputs}->{$input->name};
push @changedInputs, $input if push @changedInputs, $input if
!defined $p !defined $p