public __construct ( Bart\Git\GitRoot $root, string $revision, string $projectName = null ) | ||
$root | Bart\Git\GitRoot | Root of repo on disk |
$revision | string | The revision label of commit, typically the hash. |
$projectName | string | Project in which commit was made. This defaults to `null` for backwards compatibility See `man git-rev-parse` "SPECIFYING REVISIONS" for valid names |