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:
Loic d'Anterroches
2009-01-26 17:58:58 +01:00
parent c11cd7bc62
commit f203f7d78f
4 changed files with 29 additions and 1 deletions

View File

@@ -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.
*