summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-02-09 12:43:14 +0100
committerPetr Mladek <pmladek@suse.cz>2011-02-09 12:43:14 +0100
commit91a461760b722fcb5750fea175cea925bbcca0ad (patch)
treeedf039be6b9ad8b558d4270800bc5a7f64aeb922
parent9a58dd93ba6c9fa7369f55d14fa4d790af539fd4 (diff)
lo-commit-stat: sort modules alphabeticaly
-rwxr-xr-xbin/lo-commit-stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 9a8888677..4c5cf6ea4 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -180,7 +180,7 @@ sub print_weekly_stat($)
{
my $pdata = shift;
- foreach my $piece (keys %{$pdata}) {
+ foreach my $piece ( sort { $a cmp $b } keys %{$pdata}) {
# check if this peice has any entries at all
if ( %{$pdata->{$piece}} ) {
print "+ $piece\n";