Merge branch 'feature-merge-history' into develop

This commit is contained in:
Loïc d'Anterroches
2011-01-24 14:20:49 +01:00
6 changed files with 84 additions and 6 deletions

View File

@@ -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()
**/