Added ticket 271, support of the Git tags.
This commit is contained in:
committed by
Loic d'Anterroches
parent
73dba2fa1a
commit
8050463a12
@@ -202,6 +202,24 @@ class IDF_Scm
|
||||
throw new Pluf_Exception_NotImplemented();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns in which tags a commit/path is.
|
||||
*
|
||||
* A commit can be in several tags and some of the SCMs are
|
||||
* managing tags using subfolders (like Subversion).
|
||||
*
|
||||
* This means that to know in which tag we are at the moment,
|
||||
* one needs to have both the path and the commit.
|
||||
*
|
||||
* @param string Commit
|
||||
* @param string Path
|
||||
* @return array Tags
|
||||
*/
|
||||
public function inTags($commit, $path)
|
||||
{
|
||||
throw new Pluf_Exception_NotImplemented();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the main branch.
|
||||
*
|
||||
|
Reference in New Issue
Block a user