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:
@@ -420,6 +420,21 @@ class IDF_Scm
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Given a changelog parsed node, returns extra data.
|
||||
*
|
||||
* For example, if the node is a commit object from git, it will a
|
||||
* stdClass object with the parents array. The extra value could
|
||||
* then be the parent(s) commit(s).
|
||||
*
|
||||
* @param stdClass Commit object/Parse object
|
||||
* @return array Extra properties
|
||||
*/
|
||||
public function getExtraProperties($obj)
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a zip archive at a given commit, wrapped in a HTTP response, suitable for pushing to client.
|
||||
*
|
||||
|
Reference in New Issue
Block a user