chiark / gitweb /
git-debrebase: new-upstream-v0: fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Jan 2018 18:46:41 +0000 (18:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 11:25:49 +0000 (12:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index b9cef97..f254ddc 100755 (executable)
@@ -848,7 +848,7 @@ sub cmd_new_upstream_v0 () {
        print STDERR "preflight check failed: $msg\n";
     };
 
-    $piece->('', Old => $old_upstream);
+    $piece->('', Old => $old_upstream->{CommitId});
 
     if ($old_upstream->{Msg} =~ m{^\[git-debrebase }m) {
        if ($old_upstream->{Msg} =~