1 | <?php |
||
28 | class LogRangeCommand extends BaseCommand |
||
29 | { |
||
30 | public const GIT_LOG = 'log'; |
||
31 | |||
32 | /** |
||
33 | * constructor |
||
34 | * |
||
35 | * @param \GitElephant\Repository $repo The repository object this command |
||
36 | * will interact with |
||
37 | */ |
||
38 | 6 | public function __construct(Repository $repo = null) |
|
42 | |||
43 | /** |
||
44 | * Build a generic log command |
||
45 | * |
||
46 | * @param \GitElephant\Objects\TreeishInterface|string $refStart the reference range start to build the log for |
||
47 | * @param \GitElephant\Objects\TreeishInterface|string $refEnd the reference range end to build the log for |
||
48 | * @param string|null $path the physical path to the tree relative |
||
49 | * to the repository root |
||
50 | * @param int|null $limit limit to n entries |
||
51 | * @param int|null $offset skip n entries |
||
52 | * @param boolean|false $firstParent skip commits brought in to branch by a merge |
||
53 | * |
||
54 | * @throws \RuntimeException |
||
55 | * @return string |
||
56 | */ |
||
57 | 6 | public function showLog( |
|
102 | } |
||
103 |