aboutsummaryrefslogtreecommitdiff
path: root/tests/common/git/init
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-05-18 22:17:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-05-21 11:39:35 +0300
commit4fd96434dd9afca5f446275fd037e28a09c85edd (patch)
tree951b587dfe5e70c4390e200638f10eae8e30174f /tests/common/git/init
parent2383d8e0a38e2c07cf0418436d1476c3f9b6ab97 (diff)
Add rep-info --deep option
Diffstat (limited to 'tests/common/git/init')
-rwxr-xr-xtests/common/git/init5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/common/git/init b/tests/common/git/init
index 5153175..9519779 100755
--- a/tests/common/git/init
+++ b/tests/common/git/init
@@ -65,6 +65,8 @@ rm -f libfox.git/.gitmodules
rm -f -r libfox.git/libbar
rm -f -r libbar.git/.git
+rm -f libbar.git/.gitmodules
+rm -f -r libbar.git/extras
rm -f -r style.git/.git
rm -f -r style.git/basic
@@ -85,7 +87,7 @@ git -C style-basic.git commit -am 'Create'
sleep 1 # Make sure that master commits are older than stable commits.
git -C style-basic.git branch stable
git -C style-basic.git checkout stable
-touch style-basic.git/README
+echo "TODO" >style-basic.git/README
cat <<EOF >style-basic.git/repositories.manifest
: 1
email: user@example.com
@@ -112,6 +114,7 @@ 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'
# Create master branch for libfoo.git, adding style.git and libbar.git as