From: Mark Lodato Date: Sat, 13 Mar 2010 04:52:54 GMT Subject: [PATCH/RFC 02/12] grep docs: grep accepts a , not a Message-ID: <1268455984-19061-3-git-send-email-lodatom@gmail.com> In-Reply-To: <1268455984-19061-1-git-send-email-lodatom@gmail.com> Also document that -p accepts a in the usage message. Signed-off-by: Mark Lodato --- Documentation/git-grep.txt | 4 ++-- builtin/commit-tree.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 4b32322..02d6306 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -21,7 +21,7 @@ SYNOPSIS [-A ] [-B ] [-C ] [-f ] [-e] [--and|--or|--not|(|)|-e ...] - [--cached | --no-index | ...] + [--cached | --no-index | ...] [--] [...] DESCRIPTION @@ -168,7 +168,7 @@ OPTIONS Do not output matched lines; instead, exit with status 0 when there is a match and with non-zero status when there isn't. -...:: +...:: Instead of searching tracked files in the working tree, search blobs in the given trees. diff --git a/builtin/commit-tree.c b/builtin/commit-tree.c index 96a421e..770baa2 100644 --- a/builtin/commit-tree.c +++ b/builtin/commit-tree.c @@ -22,7 +22,7 @@ static void check_valid(unsigned char *sha1, enum object_type expect) typename(expect)); } -static const char commit_tree_usage[] = "git commit-tree [-p ]* < changelog"; +static const char commit_tree_usage[] = "git commit-tree [-p ]* < changelog"; static void new_parent(struct commit *parent, struct commit_list **parents_p) { -- 1.7.0.2