@@ -104,6 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | 106 | * Lists commit objects in reverse chronological order |
| 107 | + * @param integer $max_count |
|
| 107 | 108 | */ |
| 108 | 109 | public function getRevList($start = 'HEAD', $skip = 0, $max_count = null) { |
| 109 | 110 | $cmd = "rev-list "; |
@@ -125,6 +126,7 @@ discard block |
||
| 125 | 126 | |
| 126 | 127 | /** |
| 127 | 128 | * Obtiene la informacion detallada de un commit |
| 129 | + * @param string $repository |
|
| 128 | 130 | */ |
| 129 | 131 | public function getRevListHashDetail($hash = 'HEAD', $repository = null) { |
| 130 | 132 | $pattern = '/^(author|committer) ([^<]+) <([^>]*)> ([0-9]+) (.*)$/'; |
@@ -266,6 +268,7 @@ discard block |
||
| 266 | 268 | |
| 267 | 269 | /** |
| 268 | 270 | * Obtiene las referencias a partir de un hash en formato html |
| 271 | + * @param string $hash |
|
| 269 | 272 | */ |
| 270 | 273 | public function getNameRev($hash) { |
| 271 | 274 | $output = $this->run_git("show-ref -d | grep $hash"); |