repo = $repo; $this->sha = $sha; } function GetLastCommit() { return $this->repo->GetObject($this->sha); } }