Added the display of the commit parents in the changelog view.
The old commits will not have the parents displayed as already cached in the DB, but the new will get them.
This commit is contained in:
@@ -116,6 +116,14 @@ class IDF_Scm_Git extends IDF_Scm
|
||||
return $this->_inObject($commit, 'branch');
|
||||
}
|
||||
|
||||
/**
|
||||
* Will find the parents if available.
|
||||
*/
|
||||
public function getExtraProperties($obj)
|
||||
{
|
||||
return (isset($obj->parents)) ? array('parents' => $obj->parents) : array();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see IDF_Scm::getTags()
|
||||
**/
|
||||
|
Reference in New Issue
Block a user