Patchwork [3/3] UBUNTU: git-ubuntu-log -- sort the bug numbers

login
register
mail settings
Submitter Andy Whitcroft
Date Feb. 10, 2010, 12:23 p.m.
Message ID <1265804627-21720-4-git-send-email-apw@canonical.com>
Download mbox | patch
Permalink /patch/45028/
State Accepted
Delegated to: Stefan Bader
Headers show

Comments

Andy Whitcroft - Feb. 10, 2010, 12:23 p.m.
Sort the bug numbers added to the LP: entry in numerical order.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 debian/scripts/misc/git-ubuntu-log |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/debian/scripts/misc/git-ubuntu-log b/debian/scripts/misc/git-ubuntu-log
index ab4b7d6..2967d87 100755
--- a/debian/scripts/misc/git-ubuntu-log
+++ b/debian/scripts/misc/git-ubuntu-log
@@ -203,7 +203,7 @@  sub changelog_input {
 				last if /^commit /;
 			}
 
-                        $bug = join(", #", keys(%bugz));
+                        $bug = join(", #", sort keys(%bugz));
 			if (!$ignore) {
 				&shortlog_entry($author, $desc, $bug,
 						$cve, $commit, 0);