repo.or.cz
/
phpgit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Modify __call() to pass array to execute().
[phpgit.git]
/
sample.php
blob
b8e8b2549661703e2c73726b90753534c9862676
1
<
?php
2
3
/**
4
* @file
5
* Sample script. Assumes that this directory is a Git checkout.
6
*/
7
8
error_reporting
(
E_ALL | E_STRICT
);
9
require_once
'library/Git.php'
;
10
11
$repo
=
new
Git_Repo
(
'.'
);
12
//$repo->log();
13
var_dump
(
$repo
->
log
());