Fixed bad help message for the git access.
Git has 2 methods to access a repository, one with gitdaemon to do a checkout and one with SSH to perform the push. We need to provide those 2 methods.
This commit is contained in:
@@ -66,6 +66,17 @@ class IDF_Scm_Git
|
||||
return sprintf(Pluf::f('git_remote_url'), $project->shortname);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the URL for SSH access
|
||||
*
|
||||
* @param IDF_Project
|
||||
* @return string URL
|
||||
*/
|
||||
public static function getWriteRemoteAccessUrl($project)
|
||||
{
|
||||
return sprintf(Pluf::f('git_write_remote_url'), $project->shortname);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns this object correctly initialized for the project.
|
||||
*
|
||||
|
Reference in New Issue
Block a user