t: be explicit about the branch to use for submodules

When we process submodules, we want to use the default branch, but we
don't know what that is, so explicitly set the default branch.
This commit is contained in:
brian m. carlson 2020-06-29 16:03:04 +00:00
parent 4c9ae85fd8
commit 64d819851f
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1

@ -33,7 +33,7 @@ begin_test "submodule env with .lfsconfig"
setup_remote_repo "$reponame"
clone_repo "$reponame" repo
git config -f .lfsconfig lfs.url "$GITSERVER/$lfsname.git/info/lfs"
git submodule add "$GITSERVER/$submodname" sub
git submodule add -b master "$GITSERVER/$submodname" sub
git submodule update
git lfs track "*.dat"
mkdir dir