chiark / gitweb /
Split brain: Generate .gitignore patch in deterministic order
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Jun 2016 16:03:41 +0000 (17:03 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 15:47:47 +0000 (16:47 +0100)
dgit

diff --git a/dgit b/dgit
index 40c7f3e..4af8f34 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -2598,7 +2598,7 @@ updates to users of the official Debian archive view of the package.
 END
         close GIPATCH or die "$gipatch: $!";
         runcmd shell_cmd "exec >>$gipatch", @git, qw(diff),
-            $unapplied, $headref, "--", keys %$editedignores;
+            $unapplied, $headref, "--", sort keys %$editedignores;
         open SERIES, "+>>", "debian/patches/series" or die $!;
         defined seek SERIES, -1, 2 or $!==EINVAL or die $!;
         my $newline;