test: localize 'make_bare' call into test

This commit is contained in:
Taylor Blau 2017-07-05 10:37:46 -06:00
parent 9b0a2e85b8
commit e5209e280d
2 changed files with 1 additions and 9 deletions

@ -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