mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
clone: test for cloning a repo with namespace scope
Test that we can successfully clone a repository that is namespace scoped on the remote and does not advertise a HEAD. To do this, we must specify the branch to checkout.
This commit is contained in:
@@ -252,8 +252,10 @@ if [ -z "$SKIP_GITDAEMON_TESTS" ]; then
|
||||
echo ""
|
||||
|
||||
export GITTEST_REMOTE_URL="git://localhost:9419/namespace.git"
|
||||
export GITTEST_REMOTE_BRANCH="four"
|
||||
run_test gitdaemon_namespace
|
||||
unset GITTEST_REMOTE_URL
|
||||
unset GITTEST_REMOTE_BRANCH
|
||||
fi
|
||||
|
||||
if [ -z "$SKIP_PROXY_TESTS" ]; then
|
||||
|
||||
Reference in New Issue
Block a user