C# Class GitCommands.CommitInformation

Afficher le fichier Open project: bleis-tift/gitextensions Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetAllTagsWhichContainGivenCommit() public static méthode

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

GetCommitInfo() public static méthode

Gets the commit info.
public static GetCommitInfo ( string sha1 ) : CommitInformation
sha1 string The sha1.
Résultat CommitInformation