chiark / gitweb /
git-debrebase: bugfix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Jan 2018 18:30:13 +0000 (18:30 +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 6fb2822..1961bcc 100755 (executable)
@@ -263,7 +263,7 @@ sub rm_subdir_cached ($) {
 sub read_tree_subdir ($$) {
     my ($subdir, $new_tree_object) = @_;
     rm_subdir_cached $subdir;
 sub read_tree_subdir ($$) {
     my ($subdir, $new_tree_object) = @_;
     rm_subdir_cached $subdir;
-    runcmd @git, qw(read-tree), "--prefix=$subdir/";
+    runcmd @git, qw(read-tree), "--prefix=$subdir/", $new_tree_object;
 }
 
 # classify returns an info hash like this
 }
 
 # classify returns an info hash like this