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

Andy Whitcroft apw at canonical.com
Wed Feb 10 12:23:47 UTC 2010


Sort the bug numbers added to the LP: entry in numerical order.

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

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);
-- 
1.6.3.3





More information about the kernel-team mailing list