aboutsummaryrefslogtreecommitdiff
path: root/tests/common/git/init
diff options
context:
space:
mode:
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