Make command invoker use the Git::$git variable for the executable.
[phpgit.git] / sample.php
blobb8e8b2549661703e2c73726b90753534c9862676
1 <?php
3 /**
4 * @file
5 * Sample script. Assumes that this directory is a Git checkout.
6 */
8 error_reporting(E_ALL | E_STRICT);
9 require_once 'library/Git.php';
11 $repo = new Git_Repo('.');
12 //$repo->log();
13 var_dump($repo->log());