diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-15 23:48:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-18 16:14:56 +0300 |
commit | 35b19af5bb585276821dc17f0f487d6cd2ece598 (patch) | |
tree | 60fcadcaf5c68da13f326f783c94fcf63a197513 /tests/common/git/init | |
parent | 5598e284b9337872608d478854643f12d1d34751 (diff) |
Fix failure to fetch git repository location with tagged commit id for git 2.22
Also make some cleanups (always probe URLs prior to git-ls-remote, use peeled
reference ids to identify repository fragments, etc).
Diffstat (limited to 'tests/common/git/init')
-rwxr-xr-x | tests/common/git/init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/common/git/init b/tests/common/git/init index 9519779..8cac2da 100755 --- a/tests/common/git/init +++ b/tests/common/git/init @@ -114,8 +114,10 @@ git -C style-basic.git checkout master # git -C libbar.git init git -C libbar.git add '*' -git -C libbar.git submodule add -b stable ../style-basic.git extras git -C libbar.git commit -am 'Create' +git -C libbar.git tag -a 'v1.0.0' -m 'Tag version 1.0.0' +git -C libbar.git submodule add -b stable ../style-basic.git extras +git -C libbar.git commit -am 'Add extras' # Create master branch for libfoo.git, adding style.git and libbar.git as # submodules. |