test: localize 'make_bare' call into test
This commit is contained in:
parent
9b0a2e85b8
commit
e5209e280d
@ -159,15 +159,6 @@ setup_multiple_remote_branches() {
|
||||
git checkout master
|
||||
}
|
||||
|
||||
# setup_multiple_local_branches_bare creates an identical setup to that of
|
||||
# setup_multiple_local_branches, save that this is a bare version.
|
||||
#
|
||||
# See: setup_multiple_local_branches.
|
||||
setup_multiple_local_branches_bare() {
|
||||
setup_multiple_remote_branches
|
||||
make_bare
|
||||
}
|
||||
|
||||
# make_bare converts the existing full checkout of a repository into a bare one,
|
||||
# and then `cd`'s into it.
|
||||
make_bare() {
|
||||
|
@ -317,6 +317,7 @@ begin_test "migrate import (bare repository)"
|
||||
set -e
|
||||
|
||||
setup_multiple_local_branches_bare
|
||||
make_bare
|
||||
|
||||
git lfs migrate import \
|
||||
--include-ref=master
|
||||
|
Loading…
Reference in New Issue
Block a user