@matheusbsbs / matheus-bagliano / commits / ec2537beda
Fork 0

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>

Mark Lodato committed Feb 25, 2010 at 22:40 UTC ec2537beda63f78746f8b43a031120be0d32310e
1 file changed +3 -3
Documentation/git-grep.txt
+3 -3
@@ -9,8 +9,7 @@ git-grep - Print lines matching a pattern
9 SYNOPSIS
10 --------
11 [verse]
12 -'git grep' [--cached]
13 - [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
12 +'git grep' [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
13 [-v | --invert-match] [-h|-H] [--full-name]
14 [-E | --extended-regexp] [-G | --basic-regexp]
15 [-F | --fixed-strings] [-n]
@@ -21,7 +20,8 @@ SYNOPSIS
20 [--color | --no-color]
21 [-A <post-context>] [-B <pre-context>] [-C <context>]
22 [-f <file>] [-e] <pattern>
24 - [--and|--or|--not|(|)|-e <pattern>...] [<tree>...]
23 + [--and|--or|--not|(|)|-e <pattern>...]
24 + [--cached | <tree>...]
25 [--] [<pathspec>...]
26
27 DESCRIPTION