summaryrefslogtreecommitdiff
path: root/git-debrebase
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-11-11 19:31:45 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-11-11 19:31:45 +0000
commit3a33f05b52dc7156fda7493056f32460ccf8facf (patch)
treeca7820b700e204c74153893d71d8601152ca9b82 /git-debrebase
parent3b07eee1fcdba874eb92339b2d1f4335fde406d4 (diff)
git-debrebase: Fix handling of tag during convert-from-dgit
We need Commit to point to a commit, not a tag object or something. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'git-debrebase')
-rwxr-xr-xgit-debrebase2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-debrebase b/git-debrebase
index 08938e2..04e84f2 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -2701,7 +2701,7 @@ END
upstream_commitish_search $version, \@tried;
if ($ups_rev) {
my $this = f_ "git tag %s", $ups_tag;
- push @upstreams, { Commit => $ups_rev,
+ push @upstreams, { Commit => "$ups_rev~0",
Source => $this,
};
} else {