From 230384a7474c7efa00d4fb1bcd4182ea6d4d12fa Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 21 Dec 2013 19:23:00 +0000 Subject: Use newest (not oldest) version currently in suite when calculating what value to use for -v by default. Closes:#732781. --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index 9b895b0..61af3b8 100755 --- a/dgit +++ b/dgit @@ -1803,7 +1803,7 @@ sub changesopts () { my @vsns = archive_query('archive_query'); if (@vsns) { @vsns = map { $_->[0] } @vsns; - @vsns = sort { version_compare_string($a, $b) } @vsns; + @vsns = sort { -version_compare_string($a, $b) } @vsns; $changes_since_version = $vsns[0]; progress "changelog will contain changes since $vsns[0]"; } else { -- cgit v1.2.1