C# Class GitCommands.CommitInformation

Exibir arquivo Open project: bleis-tift/gitextensions Class Usage Examples

Public Methods

Method Description
GetAllBranchesWhichContainGivenCommit ( string sha1 ) : IEnumerable

Gets all branches which contain the given commit.

GetAllTagsWhichContainGivenCommit ( string sha1 ) : IEnumerable

Gets all tags which contain the given commit.

GetCommitInfo ( string sha1 ) : CommitInformation

Gets the commit info.

Private Methods

Method Description
CommitInformation ( string header, string body ) : System

Private constructor

GetField ( string data, string header ) : string
IndexOfValue ( string data, string header ) : int
LengthOfValue ( string data, int valueIndex ) : int
RemoveField ( string data, string header ) : string
RemoveRedundancies ( string info ) : string

Method Details

GetAllBranchesWhichContainGivenCommit() public static method

Gets all branches which contain the given commit.
public static GetAllBranchesWhichContainGivenCommit ( string sha1 ) : IEnumerable
sha1 string The sha1.
return IEnumerable

GetAllTagsWhichContainGivenCommit() public static method

Gets all tags which contain the given commit.
public static GetAllTagsWhichContainGivenCommit ( string sha1 ) : IEnumerable
sha1 string The sha1.
return IEnumerable

GetCommitInfo() public static method

Gets the commit info.
public static GetCommitInfo ( string sha1 ) : CommitInformation
sha1 string The sha1.
return CommitInformation