Skip to content

Commit c4cf691

Browse files
committed
allow subtree split branch which does not exist.
1 parent 19fef9a commit c4cf691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/subtree-split

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function split()
1111

1212

1313
SHA1=`./bin/splitsh-lite --prefix=$1`
14-
git push $2 "$SHA1:$CURRENT_BRANCH"
14+
git push $2 "$SHA1:refs/heads/$CURRENT_BRANCH"
1515
}
1616

1717
function split_new_repo()

0 commit comments

Comments
 (0)