]> git.ipfire.org Git - thirdparty/git.git/commit
doc: convert git-grep synopsis and options to new style
authorJean-Noël Avila <jn.avila@free.fr>
Mon, 25 May 2026 10:28:24 +0000 (10:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2026 11:05:44 +0000 (20:05 +0900)
commit25d5d60958f1486cb8439863062f66ffef605f18
tree461d912dba3805e8506d347a6a130b055d00e6a4
parented31e2872a7306f52de1e2b9ab0065b9d91f3338
doc: convert git-grep synopsis and options to new style

Convert git-grep.adoc from [verse]/single-quote style to the modern
synopsis-block style:

- Replace [verse] with [synopsis] in SYNOPSIS block
- Change 'git grep' to git grep (no single quotes)
- Backtick-quote all OPTIONS terms
- Convert inline man page refs: grep(1) -> `grep`(1)
- Convert inline command refs: 'git diff' -> `git diff`
- Convert prose placeholders: <file> -> _<file>_

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/grep.adoc
Documentation/git-grep.adoc