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:
parent
4c9ae85fd8
commit
64d819851f
@ -33,7 +33,7 @@ begin_test "submodule env with .lfsconfig"
|
|||||||
setup_remote_repo "$reponame"
|
setup_remote_repo "$reponame"
|
||||||
clone_repo "$reponame" repo
|
clone_repo "$reponame" repo
|
||||||
git config -f .lfsconfig lfs.url "$GITSERVER/$lfsname.git/info/lfs"
|
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 submodule update
|
||||||
git lfs track "*.dat"
|
git lfs track "*.dat"
|
||||||
mkdir dir
|
mkdir dir
|
||||||
|
Loading…
Reference in New Issue
Block a user