diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-07-04 10:00:39 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-07-07 14:51:51 +0200 |
commit | d4256ed554fa64f762d53cb2a64663e5095d3eb5 (patch) | |
tree | 45a5b926a5a04f346a0feb10242012a2677e8d62 /script | |
parent | 9b87998c97fedcf0c22cef28bb0839ecd68c1efd (diff) | |
download | libgit2-d4256ed554fa64f762d53cb2a64663e5095d3eb5.tar.gz |
ssh: provide a factory function for setting ssh pathscmn/ssh-factory-for-paths
git allows you to set which paths to use for the git server programs
when connecting over ssh; and we want to provide something similar.
We do this by providing a factory function which can be set as the
remote's transport callback which will set the given paths upon
creation.
Diffstat (limited to 'script')
-rwxr-xr-x | script/cibuild.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/cibuild.sh b/script/cibuild.sh index 699404bd2..5ba07460c 100755 --- a/script/cibuild.sh +++ b/script/cibuild.sh @@ -34,5 +34,8 @@ export GITTEST_REMOTE_SSH_PUBKEY="$HOME/.ssh/id_rsa.pub" export GITTEST_REMOTE_SSH_PASSPHRASE="" if [ -e ./libgit2_clar ]; then - ./libgit2_clar -sonline::push -sonline::clone::cred_callback_failure + ./libgit2_clar -sonline::push -sonline::clone::cred_callback_failure && + rm -rf $HOME/_temp/test.git && + git init --bare $HOME/_temp/test.git && # create an empty one + ./libgit2_clar -sonline::clone::ssh_with_paths fi |