File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -824,6 +824,7 @@ test_expect_success 'migrate a remote from named file in $GIT_DIR/branches' '
824
824
(
825
825
cd six &&
826
826
git remote rm origin &&
827
+ mkdir -p .git/branches &&
827
828
echo "$origin_url" >.git/branches/origin &&
828
829
git remote rename origin origin &&
829
830
test_path_is_missing .git/branches/origin &&
@@ -838,6 +839,7 @@ test_expect_success 'migrate a remote from named file in $GIT_DIR/branches (2)'
838
839
(
839
840
cd seven &&
840
841
git remote rm origin &&
842
+ mkdir -p .git/branches &&
841
843
echo "quux#foom" > .git/branches/origin &&
842
844
git remote rename origin origin &&
843
845
test_path_is_missing .git/branches/origin &&
Original file line number Diff line number Diff line change @@ -866,6 +866,7 @@ test_expect_success 'fetch with branches' '
866
866
mk_empty testrepo &&
867
867
git branch second $the_first_commit &&
868
868
git checkout second &&
869
+ mkdir -p testrepo/.git/branches &&
869
870
echo ".." > testrepo/.git/branches/branch1 &&
870
871
(
871
872
cd testrepo &&
@@ -879,6 +880,7 @@ test_expect_success 'fetch with branches' '
879
880
880
881
test_expect_success ' fetch with branches containing #' '
881
882
mk_empty testrepo &&
883
+ mkdir -p testrepo/.git/branches &&
882
884
echo "..#second" > testrepo/.git/branches/branch2 &&
883
885
(
884
886
cd testrepo &&
@@ -893,6 +895,7 @@ test_expect_success 'fetch with branches containing #' '
893
895
test_expect_success ' push with branches' '
894
896
mk_empty testrepo &&
895
897
git checkout second &&
898
+ mkdir -p .git/branches &&
896
899
echo "testrepo" > .git/branches/branch1 &&
897
900
git push branch1 &&
898
901
(
@@ -905,6 +908,7 @@ test_expect_success 'push with branches' '
905
908
906
909
test_expect_success ' push with branches containing #' '
907
910
mk_empty testrepo &&
911
+ mkdir -p .git/branches &&
908
912
echo "testrepo#branch3" > .git/branches/branch2 &&
909
913
git push branch2 &&
910
914
(
You can’t perform that action at this time.
0 commit comments