2012-05-05 20:06:53 +02:00
|
|
|
<?php
|
|
|
|
require("libgit/base.php");
|
|
|
|
|
2012-05-05 22:19:35 +02:00
|
|
|
$repo = new GitRepository("/home/occupy/testrepo.git");
|
|
|
|
pretty_dump($repo->GetBranch("master")->GetLastCommit());
|
|
|
|
|
2012-05-05 21:31:08 +02:00
|
|
|
/*pretty_dump($s->GetObject("54e03e490b1bee1c154c3545bf258cab0629ee02"));
|
2012-05-05 20:27:36 +02:00
|
|
|
pretty_dump($s->GetObject("98d99489382a3541e6783bb2083554785f3eb72a"));
|
2012-05-05 20:21:21 +02:00
|
|
|
pretty_dump($s->GetObject("9d8e0ba4a30f6a5d775a879c42c7de5aed4530c6"));
|
2012-05-05 22:19:35 +02:00
|
|
|
pretty_dump($s->GetObject("710bfee4440517255475bf7c5454c0bdbb3b3e56"));
|
2012-05-05 21:40:16 +02:00
|
|
|
pretty_dump($s->GetObject("ab2d7159831970ca08f2c9fc5c0fa34b17d572e9"));
|
2012-05-05 22:19:35 +02:00
|
|
|
pretty_dump($s->GetObject("cdebafd9e7426d0243cfb0a4ea2116a8b97b01e7"));*/
|