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");
|
2012-05-06 01:20:51 +02:00
|
|
|
$pack = new GitPack($repo, "pack-8503a2b8cf6e60831dd012afd4d486eb1eddfef8");
|
|
|
|
pretty_dump($pack->UnpackObject("a6269a2ffd269289d7d026818511fab88718feff"));
|
2012-05-06 00:43:50 +02:00
|
|
|
//pretty_dump($repo->GetObjectForPath($repo->GetBranch("master")->GetTree(), "public_html/css/images/derp"));
|