Namespaces

Types in GitSharp.Commands

Type GrepCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string A get; set;

Not implemented Show `context` trailing (`A` -- after), or leading (`B` -- before), or both (`C` -- context) lines, and place a line containing `--` between contiguous groups of matches.

string ActualDirectory get;

bool AllMatch get; set;

Not implemented When giving multiple pattern expressions combined with `--or`, this flag is specified to limit the match to files that have lines to match all of them.

bool And get; set;

Not implemented ( ... ):: Specify how multiple patterns are combined using Boolean expressions. `--or` is the default operator. `--and` has higher precedence than `--or`. `-e` has to be used for all patterns.

List<string> Arguments get; set;

string B get; set;

Not implemented Show `context` trailing (`A` -- after), or leading (`B` -- before), or both (`C` -- context) lines, and place a line containing `--` between contiguous groups of matches.

bool BasicRegexp get; set;

Not implemented Use POSIX extended/basic regexp for patterns. Default is to use basic regexp.

string C get; set;

Not implemented Show `context` trailing (`A` -- after), or leading (`B` -- before), or both (`C` -- context) lines, and place a line containing `--` between contiguous groups of matches.

bool Cached get; set;

Not implemented Instead of searching in the working tree files, check the blobs registered in the index file.

bool Color get; set;

Not implemented Show colored matches.

bool Count get; set;

Not implemented Instead of showing every matched line, show the number of lines that match.

bool E get; set;

Not implemented The next parameter is the pattern. This option has to be used for patterns starting with - and should be used in scripts passing user input to grep. Multiple patterns are combined by 'or'.

bool ExtendedRegexp get; set;

Not implemented Use POSIX extended/basic regexp for patterns. Default is to use basic regexp.

string F get; set;

Not implemented Read patterns from , one per line.

bool FilesWithMatches get; set;

Not implemented Instead of showing every matched line, show only the names of files that contain (or do not contain) matches. For better compatibility with 'git-diff', --name-only is a synonym for --files-with-matches.

bool FilesWithoutMatch get; set;

Not implemented Instead of showing every matched line, show only the names of files that contain (or do not contain) matches. For better compatibility with 'git-diff', --name-only is a synonym for --files-with-matches.

bool FixedStrings get; set;

Not implemented Use fixed strings for patterns (don't interpret pattern as a regex).

bool FullName get; set;

Not implemented When run from a subdirectory, the command usually outputs paths relative to the current directory. This option forces paths to be output relative to the project top directory.

string GitDirectory get; set;

bool H get; set;

Not implemented By default, the command shows the filename for each match. `-h` option is used to suppress this output. `-H` is there for completeness and does not do anything except it overrides `-h` given earlier on the command line.

bool I get; set;

Not implemented Don't match the pattern in binary files.

bool IgnoreCase get; set;

Not implemented Ignore case differences between the patterns and the files.

bool InvertMatch get; set;

Not implemented Select non-matching lines.

string MaxDepth get; set;

Not implemented For each pathspec given on command line, descend at most levels of directories. A negative value means no limit.

bool N get; set;

Not implemented Prefix the line number to matching lines.

bool NameOnly get; set;

Not implemented Instead of showing every matched line, show only the names of files that contain (or do not contain) matches. For better compatibility with 'git-diff', --name-only is a synonym for --files-with-matches.

bool NoColor get; set;

Not implemented Turn off match highlighting, even when the configuration file gives the default to color output.

bool Not get; set;

Not implemented ( ... ):: Specify how multiple patterns are combined using Boolean expressions. `--or` is the default operator. `--and` has higher precedence than `--or`. `-e` has to be used for all patterns.

bool Null get; set;

Not implemented Output \0 instead of the character that normally follows a file name.

bool Or get; set;

Not implemented ( ... ):: Specify how multiple patterns are combined using Boolean expressions. `--or` is the default operator. `--and` has higher precedence than `--or`. `-e` has to be used for all patterns.

StreamWriter OutputStream get; set;

Repository Repository get; set;

bool ShowFunction get; set;

Not implemented Show the preceding line that contains the function name of the match, unless the matching line is a function name itself. The name is determined in the same way as 'git diff' works out patch hunk headers (see 'Defining a custom hunk-header' in linkgit:gitattributes[5]).

bool Text get; set;

Not implemented Process binary files as if they were text.

bool WordRegexp get; set;

Not implemented Match the pattern only at word boundary (either begin at the beginning of a line, or preceded by a non-word character; end at the end of a line or followed by a non-word character).