Control: tags -1 + patch

Hi,

this bug looks to come from commit 628a3507 [1]. It seems that this simple patch fixes the problem:

--- a/lib/Devscripts/Uscan/Modes/_xtp.pm
+++ b/lib/Devscripts/Uscan/Modes/_xtp.pm
@@ -103,7 +103,7 @@ sub sortAndMangle {
         and not $watchSource->versionmode eq 'ignore') {

         # extract ones which has $match in the above loop defined
-        my @vfiles = grep { $$_[3] } @files;
+        my @vfiles = grep { $$_[2] } @files;
         if (@vfiles) {
             (undef, $mangled_newversion, $newfile, undef, $newversion)
               = @{ $vfiles[0] };

@Julien, could you have a look at this ?


[1] https://salsa.debian.org/debian/devscripts/-/commit/628a3507a

Reply via email to