chiark / gitweb /
tg info, tg patch: Work on top-base HEAD too
[topgit.git] / tg-import.sh
index 11829a94cd737b14bf8b0a8cbf4e7c9b3d9c59ba..68477f0de31cf05fd66c7f48fcfee95fa7e31bce 100644 (file)
@@ -61,7 +61,7 @@ process_commit()
        branch_name=$(get_branch_name "$commit")
        info "---- Importing $commit to $branch_prefix$branch_name"
        tg create "$branch_prefix""$branch_name"
-       git read-tree "$commit"
+       git read-tree -u -m "$commit"
        get_commit_msg "$commit" > .topmsg
        git add -f .topmsg .topdeps
        git commit -C "$commit"