Re: [PATCH v4 5/5] Documentation: update add --force option + ignore=all config
- From
Claus Schneider <claus.schneider@eficode.com>
- Date
- Mar 10, 2026, 21:04 UTC
- Message-ID
- <CA+GP4brEROn5jhmtjW7gwk87hi8T23voyG+LEx-ypwUE0Q5F=w@mail.gmail.com>
- In-Reply-To
- <faf8622b-b960-4f58-add7-28b5e081afb3@app.fastmail.com>
Hi ..
Thanks .. I will fix both.
Br Claus Schneider
On Wed, Mar 4, 2026 at 3:02 PM Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com> wrote:
Show 29 quoted lines
> > On Fri, Feb 6, 2026, at 14:23, Claus Schneider(Eficode) via GitGitGadget wrote: > > 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/ ? > > > > > dirty;; All changes to the submodule's work tree will be ignored, only > > committed differences between the `HEAD` of the submodule and its > > -- > > gitgitgadget