{
var $repo;
-
+ var $branch = "";
var $files = array();
var $log = array();
var $commits = array();
while (($line = fgets(STDIN)) !== false) {
echo "got: $line\n";
list($old, $new, $ref) = explode(' ', trim($line), 3);
+ $this->branch = $ref;
$this->commits[] = $new;
if (preg_match('/^0+$/',$old)) {