mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-07-12 04:22:40 +02:00
parameter is nowhere used
This commit is contained in:
@@ -27,7 +27,7 @@ class Repository extends BaseRepository
|
||||
/**
|
||||
* Get the current branch, returning a default value when HEAD is detached.
|
||||
*/
|
||||
public function getHead($default = null)
|
||||
public function getHead()
|
||||
{
|
||||
$client = $this->getClient();
|
||||
|
||||
@@ -204,6 +204,8 @@ class Repository extends BaseRepository
|
||||
* Show the repository commit log with pagination
|
||||
*
|
||||
* @access public
|
||||
* @param string $file
|
||||
* @param int page
|
||||
* @return array Commit log
|
||||
*/
|
||||
public function getPaginatedCommits($file = null, $page = 0)
|
||||
@@ -379,6 +381,7 @@ class Repository extends BaseRepository
|
||||
*
|
||||
* @param string $commitish Commitish reference; branch, tag, SHA1, etc.
|
||||
* @param string $path Path whose existence we want to verify.
|
||||
* @return bool
|
||||
*
|
||||
* GRIPE Arguably belongs in Gitter, as it's generally useful functionality.
|
||||
* Also, this really may not be the best way to do this.
|
||||
|
||||
Reference in New Issue
Block a user