We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938e891 commit 2fbd3acCopy full SHA for 2fbd3ac
contrib/subtree/t/t7900-subtree.sh
@@ -63,7 +63,7 @@ test_create_pre2_32_repo () {
63
git -C "$1" log -1 --format=%B HEAD^2 >msg &&
64
test_commit -C "$1-sub" --annotate sub2 &&
65
git clone --no-local "$1" "$1-clone" &&
66
- new_commit=$(cat msg | sed -e "s/$commit/$tag/" | git -C "$1-clone" commit-tree HEAD^2^{tree}) &&
+ new_commit=$(sed -e "s/$commit/$tag/" msg | git -C "$1-clone" commit-tree HEAD^2^{tree}) &&
67
git -C "$1-clone" replace HEAD^2 $new_commit
68
}
69
0 commit comments