[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH] remove-trailing-ws: Sort output
From: |
Jean Delvare |
Subject: |
[Quilt-dev] [PATCH] remove-trailing-ws: Sort output |
Date: |
Fri, 14 Dec 2012 13:23:54 +0100 |
Sort the output of remove-trailing-ws for predictable output. This is
needed to include remove-trailing-ws in the test suite.
---
quilt/scripts/remove-trailing-ws.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/quilt/scripts/remove-trailing-ws.in
+++ b/quilt/scripts/remove-trailing-ws.in
@@ -106,7 +106,7 @@ while (<>) {
}
}
-foreach my $file (keys %files) {
+foreach my $file (sort keys %files) {
my @lines = @{$files{$file}};
if ($opt_n) {
print STDERR sprintf(
--
Jean Delvare
Suse L3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [PATCH] remove-trailing-ws: Sort output,
Jean Delvare <=