function hackedProjectWebDevDownloader::git_get_command in Hacked! 7.2
Helper function to return the command to run git on the command line.
Return value
string The command with which to run Git.
2 calls to hackedProjectWebDevDownloader::git_get_command()
- hackedProjectWebDevDownloader::git_checkout in includes/
hackedProjectWebDevDownloader.inc - Checks out the last Git commit prior to the project's timestamp.
- hackedProjectWebDevDownloader::git_clone in includes/
hackedProjectWebDevDownloader.inc - Clones a git repository in a temporary directory.
File
- includes/
hackedProjectWebDevDownloader.inc, line 176
Class
- hackedProjectWebDevDownloader
- Downloads the dev version of a project.
Code
function git_get_command() {
return variable_get('hacked_git_cmd', 'git');
}