summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-08-05 00:05:45 +0000
committerJunio C Hamano <junio@kernel.org>2011-08-05 00:05:45 +0000
commit16ebcd0bda2d592eefc14d4450d21986d961b181 (patch)
tree7102ad97bc23a41080b6675b67edb2c977386d58 /git-grep.txt
parent86d8436428960039361c286795019ee5b9629272 (diff)
downloadgit-htmldocs-16ebcd0bda2d592eefc14d4450d21986d961b181.tar.gz
Autogenerated HTML docs for v1.7.6-404-g5d2fc
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-grep.txt b/git-grep.txt
index 07b3c6a08..062711139 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -215,15 +215,15 @@ OPTIONS
Examples
--------
-git grep {apostrophe}time_t{apostrophe} \-- {apostrophe}*.[ch]{apostrophe}::
+`git grep {apostrophe}time_t{apostrophe} \-- {apostrophe}*.[ch]{apostrophe}`::
Looks for `time_t` in all tracked .c and .h files in the working
directory and its subdirectories.
-git grep -e {apostrophe}#define{apostrophe} --and \( -e MAX_PATH -e PATH_MAX \)::
+`git grep -e {apostrophe}#define{apostrophe} --and \( -e MAX_PATH -e PATH_MAX \)`::
Looks for a line that has `#define` and either `MAX_PATH` or
`PATH_MAX`.
-git grep --all-match -e NODE -e Unexpected::
+`git grep --all-match -e NODE -e Unexpected`::
Looks for a line that has `NODE` or `Unexpected` in
files that have lines that match both.