ssh: provide a factory function for setting ssh paths #2463

Merged
merged 1 commit into from Jul 11, 2014

Conversation

Projects
None yet
2 participants
Owner

carlosmn commented Jul 4, 2014

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.

@carlosmn carlosmn referenced this pull request Jul 4, 2014

Closed

Clone API completionism #1142

@carlosmn carlosmn changed the title from [WIP] ssh: provide a factory function for setting ssh paths to ssh: provide a factory function for setting ssh paths Jul 7, 2014

ssh: provide a factory function for setting ssh 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.
Owner

carlosmn commented Jul 7, 2014

This should be ready to go in. The reset of the repository we use as scratch is due the clone trying to find a commit it didn't download, which is a bug in the default branch choosing.

vmg added a commit that referenced this pull request Jul 11, 2014

Merge pull request #2463 from libgit2/cmn/ssh-factory-for-paths
ssh: provide a factory function for setting ssh paths

@vmg vmg merged commit 44cfb6f into master Jul 11, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@carlosmn carlosmn deleted the cmn/ssh-factory-for-paths branch Aug 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment