-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,6 +226,7 @@ def setUpClass(cls): | |
with tempfile.TemporaryDirectory() as tmp: | ||
cmds = "\n".join([ | ||
'git init .', | ||
'git config --local protocol.file.allow always', | ||
'git config user.email "[email protected]"', | ||
'git config user.name test', | ||
'git checkout -b master', | ||
|
@@ -537,7 +538,8 @@ def setUp(self): | |
echo 1 > test.txt | ||
git add test.txt | ||
mkdir -p some/deep | ||
git submodule add --name whatever ../subsub1 some/deep/path | ||
git -c protocol.file.allow=always \ | ||
submodule add --name whatever ../subsub1 some/deep/path | ||
git commit -m "commit 1" | ||
echo 2 > test.txt | ||
git commit -a -m "commit 2" | ||
|
@@ -551,7 +553,8 @@ def setUp(self): | |
git config user.name test | ||
echo 1 > test.txt | ||
git add test.txt | ||
git submodule add ../sub1 | ||
git -c protocol.file.allow=always \ | ||
submodule add ../sub1 | ||
git commit -m "commit 1" | ||
git tag -a -m 'Tag 1' tag1 | ||
cd .. | ||
|
@@ -633,7 +636,7 @@ def addSub2(self): | |
cd .. | ||
cd main | ||
git submodule add ../sub2 | ||
git -c protocol.file.allow=always submodule add ../sub2 | ||
git commit -m "commit 2" | ||
cd .. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters