git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 6/6] doc: fix grammar errors in submodule description

From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 16, 2026, 23:36 UTC
Message-ID
<5ec9a3d20f0bda5a8c5f518b93b288d5d618406f.1776382591.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.2092.git.1776382591.gitgitgadget@gmail.com>
From: Elijah Newren <newren@gmail.com>

6cc6d1b4c699 (Documentation: update add --force option + ignore=all config, 2026-02-06) added text describing both the ignore=none and ignore=all behaviors. The former had minor formatting and grammatical errors, while the latter was a bit garbled. I have tried to tweak the wording on the latter to make it read as I think was intended, and fixed the minor grammatical issues with both as well.

Signed-off-by: Elijah Newren <newren@gmail.com>
---
 Documentation/config/submodule.adoc | 2 +-
 Documentation/gitmodules.adoc       | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/config/submodule.adoc b/Documentation/config/submodule.adoc
index 8dacb852c7..4c424017b4 100644
--- a/Documentation/config/submodule.adoc
+++ b/Documentation/config/submodule.adoc
@@ -40,7 +40,7 @@ submodule.<name>.ignore::
 	takes only differences between the HEAD of the submodule and the commit
 	recorded in the superproject into account. "untracked" will additionally
 	let submodules with modified tracked files in their work tree show up.
-	When set to "none"(default) It also show submodules as changed if they have
+	When set to "none" (default) it also shows submodules as changed if they have
 	untracked files in their work tree.
 	This setting overrides any setting made in .gitmodules for this submodule,
 	both settings can be overridden on the command line by using the
diff --git a/Documentation/gitmodules.adoc b/Documentation/gitmodules.adoc
index 3792da96aa..fd96639806 100644
--- a/Documentation/gitmodules.adoc
+++ b/Documentation/gitmodules.adoc
@@ -70,10 +70,10 @@ submodule.<name>.ignore::
 --
 	all;; The submodule will never be considered modified (but will
 	    nonetheless show up in the output of status and commit when it has
-	    been staged). Add `(new commits)` can be overruled using the
-	    `git add --force <submodule.path>`.
-		The setting affects `status`, `update-index`, `diff` and `log`(due
-		to underlaying `diff`).
+	    been staged).  Adding a submodule with `(new commits)` can be
+	    overridden using `git add --force <submodule.path>`.
+	    This setting affects `status`, `update-index`, `diff` and `log`
+	    (due to underlying `diff`).
 
 	dirty;; All changes to the submodule's work tree will be ignored, only
 	    committed differences between the `HEAD` of the submodule and its
-- 
gitgitgadget
Previous: Elijah Newren via GitGitGadget
Message 7 of 7 in “Documentation fixes for changes made this cycle”
  1. 0/6 Documentation fixes for changes made this cycleElijah Newren via GitGitGadget, Apr 16, 2026
  2. 1/6 RelNotes/2.54.0: fix typos and grammarElijah Newren via GitGitGadget, Apr 16, 2026
  3. 3/6 doc: fix self-referential config in sendemail.smtpSSLClientKeyElijah Newren via GitGitGadget, Apr 16, 2026
  4. 4/6 doc: fix plural agreement in pack.preferBitmapTipsElijah Newren via GitGitGadget, Apr 16, 2026
  5. 5/6 doc: fix singular/plural mismatch in git-rerereElijah Newren via GitGitGadget, Apr 16, 2026
  6. 2/6 CodingGuidelines: fix subject-verb agreementElijah Newren via GitGitGadget, Apr 16, 2026
  7. 6/6 doc: fix grammar errors in submodule descriptionElijah Newren via GitGitGadget, Apr 16, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.