aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/config
diff options
context:
space:
mode:
authorDragan Simic <dsimic@manjaro.org>2024-03-25 21:34:52 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-25 14:00:03 -0700
commit4a9357a1ba7e7a9f1548d2efd4975d4133fe0bac (patch)
treea07d66366ba71190b8c962a53fdb332c346fa259 /Documentation/config
parent11c821f2f2a31e70fb5cc449f9a29401c333aad2 (diff)
downloadgit-4a9357a1ba7e7a9f1548d2efd4975d4133fe0bac.tar.gz
grep docs: describe --recurse-submodules further and improve formatting a bit
Clarify that --recurse-submodules cannot be used together with --untracked, and improve the formatting in a couple of places, to make it visually clear that those are the commands or the names of configuration options. While there, change a couple of "<tree>" placeholders to "_<tree>_", to help with an ongoing translation improvement effort. [1] [1] https://lore.kernel.org/git/CAPig+cQc8W4JOpB+TMP=czketU1U7wcY_x9bsP5T=3-XjGLhRQ@mail.gmail.com/ Signed-off-by: Dragan Simic <dsimic@manjaro.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/grep.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/config/grep.txt b/Documentation/config/grep.txt
index e521f20390..10041f27b0 100644
--- a/Documentation/config/grep.txt
+++ b/Documentation/config/grep.txt
@@ -24,5 +24,5 @@ grep.fullName::
If set to true, enable `--full-name` option by default.
grep.fallbackToNoIndex::
- If set to true, fall back to git grep --no-index if git grep
+ If set to true, fall back to `git grep --no-index` if `git grep`
is executed outside of a git repository. Defaults to false.