summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-12-21 19:23:00 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-12-21 19:23:00 +0000
commit230384a7474c7efa00d4fb1bcd4182ea6d4d12fa (patch)
tree78199e82b7cad7812182fbf240c55f450b86a01e /dgit
parentac98a9a99e592b92f719745a0b08142b5ddc21f9 (diff)
Use newest (not oldest) version currently in suite when calculating what value to use for -v<version> by default. Closes:#732781.debian/0.20
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
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 {