grep docs: --cached and <tree>... are incompatible
In the synopsis for git-grep(1), show that --cached and <tree>... cannot be used together. Signed-off-by: Mark Lodato <lodatom@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
bfb8306de5
commit
ec2537beda
|
@ -9,8 +9,7 @@ git-grep - Print lines matching a pattern
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git grep' [--cached]
|
'git grep' [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
|
||||||
[-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
|
|
||||||
[-v | --invert-match] [-h|-H] [--full-name]
|
[-v | --invert-match] [-h|-H] [--full-name]
|
||||||
[-E | --extended-regexp] [-G | --basic-regexp]
|
[-E | --extended-regexp] [-G | --basic-regexp]
|
||||||
[-F | --fixed-strings] [-n]
|
[-F | --fixed-strings] [-n]
|
||||||
|
@ -21,7 +20,8 @@ SYNOPSIS
|
||||||
[--color | --no-color]
|
[--color | --no-color]
|
||||||
[-A <post-context>] [-B <pre-context>] [-C <context>]
|
[-A <post-context>] [-B <pre-context>] [-C <context>]
|
||||||
[-f <file>] [-e] <pattern>
|
[-f <file>] [-e] <pattern>
|
||||||
[--and|--or|--not|(|)|-e <pattern>...] [<tree>...]
|
[--and|--or|--not|(|)|-e <pattern>...]
|
||||||
|
[--cached | <tree>...]
|
||||||
[--] [<pathspec>...]
|
[--] [<pathspec>...]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
Loading…
Reference in New Issue