C# Class GitSharp.Core.RevWalk.Filter.AuthorRevFilter

Matches only commits whose author name matches the pattern.
Mostra file Open project: jagregory/GitSharp

Public Methods

Method Description
create ( string pattern ) : RevFilter

Create a new author filter. An optimized substring search may be automatically selected if the pattern does not contain any regular expression meta-characters. The search is performed using a case-insensitive comparison. The character encoding of the commit message itself is not respected. The filter matches on raw UTF-8 byte sequences.

Private Methods

Method Description
TextFor ( RevCommit cmit ) : string

Method Details

create() public static method

Create a new author filter. An optimized substring search may be automatically selected if the pattern does not contain any regular expression meta-characters. The search is performed using a case-insensitive comparison. The character encoding of the commit message itself is not respected. The filter matches on raw UTF-8 byte sequences.
public static create ( string pattern ) : RevFilter
pattern string Regular expression pattern to match.
return RevFilter