Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-31 04:04:42 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-31 04:04:42 +0300
commit75f416ec6a3b3bee6739f8bf28963b347a3aaa4c (patch)
tree7037da6bf1ddb8ac557b373081040c8d03a8bc8a
parent576b19924ebda9075512f8fd95fb2996cbe871b4 (diff)
parent3dc6b4e027266c7b7334920ca9be3162327325f7 (diff)
Merge branch 'sg/stable-docdep'
Make sure generated dependency file is stably sorted to help developers debugging their build issues. * sg/stable-docdep: Documentation/build-docdep.perl: generate sorted output
-rwxr-xr-xDocumentation/build-docdep.perl5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/build-docdep.perl b/Documentation/build-docdep.perl
index ba4205e0302..1b3ac8fdd95 100755
--- a/Documentation/build-docdep.perl
+++ b/Documentation/build-docdep.perl
@@ -38,9 +38,10 @@ while ($changed) {
}
}
-while (my ($text, $included) = each %include) {
+foreach my $text (sort keys %include) {
+ my $included = $include{$text};
if (! exists $included{$text} &&
(my $base = $text) =~ s/\.txt$//) {
- print "$base.html $base.xml : ", join(" ", keys %$included), "\n";
+ print "$base.html $base.xml : ", join(" ", sort keys %$included), "\n";
}
}