Re: [PATCH v4 5/5] Documentation: update add --force option + ignore=all config
On Fri, Feb 6, 2026, at 14:23, Claus Schneider(Eficode) via GitGitGadget wrote:
Show 15 quoted lines
> From: "Claus Schneider(Eficode)" <claus.schneider@eficode.com>
>
> - git-add.adoc: Update the --force documentation for submodule behaviour
> to be added even the given configuration ignore=all.
> - gitmodules.adoc and config/submodule.adoc: The submodule config
> ignore=all now need --force in order to update the index.
>
> Signed-off-by: Claus Schneider(Eficode) <claus.schneider@eficode.com>
>[snip]
> 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).
> + 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
This is in `next` but: should be a space: “`log` (due”.
> + to underlaying `diff`).
s/underlaying/underlying/ ?
Show 5 quoted lines
>
> dirty;; All changes to the submodule's work tree will be ignored, only
> committed differences between the `HEAD` of the submodule and its
> --
> gitgitgadget