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 <ijackson@chiark.greenend.org.uk>
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;