chiark / gitweb /
dgit-repos-server: tag2upload: Check the upstream tag syntax only once
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 17:36:51 +0000 (18:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Jul 2019 10:18:17 +0000 (11:18 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
infra/dgit-repos-server

index 3551136..f5767ae 100755 (executable)
@@ -1245,7 +1245,6 @@ END
     my @fetch = qw(git fetch origin --unshallow);
     if (defined $upstreamt) {
        runcmd qw(git check-ref-format), "refs/tags/$upstreamt";
-       runcmd qw(git check-ref-format), "refs/tags/$upstreamt";
        my $utagref = "refs/tags/$upstreamt";
        push @fetch, "$utagref:$utagref";
     }