From 9765d5b8002c33130ada5e85b43b88b993b9cff6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 17 Jul 2019 03:22:50 +0100 Subject: 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 --- infra/dgit-repos-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'infra') diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server index ba71700..09a0d3c 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; -- cgit v1.2.3