summaryrefslogtreecommitdiff
path: root/git-debrebase
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-30 18:30:13 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-06-16 12:25:49 +0100
commitf7f1612c112ce478a3e9a2aaacaec08bebabcdd2 (patch)
treeb3d36bc3a29d9fc1b1708247ef5af17c1d2c1ec6 /git-debrebase
parentc1daa041a3a93b5912cc51b611d6bdce7f6c425e (diff)
git-debrebase: bugfix
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 6fb2822..1961bcc 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -263,7 +263,7 @@ sub rm_subdir_cached ($) {
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