Move to git-archive for zip support
[gitphp.git] / include / gitutil.git_exec_win.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/*
 *  gitutil.git_exec_win.php
 *  gitphp: A PHP git repository browser
 *  Component: Git utility - execute git command on windows
 *
 *  Copyright (C) 2008 Christopher Han <xiphux@gmail.com>
 */
 
function git_exec_win($project, $command)
{
        global $gitphp_conf;
        $cmd = $gitphp_conf['gitbin'] . " --git-dir=" . $project . " " . $command;
        return shell_exec($cmd);
}
 
?>
 
comments