From: Ian Jackson Date: Wed, 17 Jul 2019 02:22:50 +0000 (+0100) Subject: tag2upload: baredebian: Pass dgit refs/tags/, not the commit hash X-Git-Tag: archive/debian/9.3~24 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=9765d5b8002c33130ada5e85b43b88b993b9cff6 tag2upload: baredebian: Pass dgit refs/tags/, not the commit hash This will enable git to report the upstream tag in its messages. The tag name is safe to pass here since dgit only uses its referent, unless it is nice enough to print. Signed-off-by: Ian Jackson --- diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server index ba71700b..09a0d3c0 100755 --- a/infra/dgit-repos-server +++ b/infra/dgit-repos-server @@ -1285,7 +1285,7 @@ END if ($quilt =~ m/baredebian/) { die "needed upstream commmitish with --quilt=baredebian" unless defined $upstreamc; - push @dgitcmd, "--upstream-commitish=$upstreamc"; + push @dgitcmd, "--upstream-commitish=refs/tags/$upstreamt"; } } push @dgitcmd, qw(push-source --new --overwrite), $suite;