-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from rock-core/fix_submodule_handling
Fix submodule handling
- Loading branch information
Showing
6 changed files
with
108 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/sh -e | ||
|
||
gitrepo=$1 | ||
if ! test -f $gitrepo.tar; then | ||
echo "$gitrepo.tar does not exist" | ||
exit 1 | ||
fi | ||
|
||
rm -rf $gitrepo $gitrepo.git | ||
tar xf $gitrepo.tar | ||
git clone $gitrepo.git $gitrepo |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/sh -e | ||
|
||
gitrepo=$1 | ||
if ! test -d $gitrepo; then | ||
echo "$gitrepo does not exist" | ||
exit 1 | ||
fi | ||
|
||
rm -rf $gitrepo.git $gitrepo.tar | ||
git clone --bare $gitrepo $gitrepo.git | ||
tar cf $gitrepo.tar $gitrepo.git |
Binary file not shown.
Binary file not shown.
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