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:10 UTC
- Message-ID
- <CA+GP4bqf6=Lv3esMxorhbn6J9AMT-A4cEyhgpnm8iLUd+Myz0Q@mail.gmail.com>
- In-Reply-To
- <CA+GP4brEROn5jhmtjW7gwk87hi8T23voyG+LEx-ypwUE0Q5F=w@mail.gmail.com>
Hi Kristoffer,
I am unsure about submitting these fixes now, as the patch appears to have already been merged.
I could add it as a 6th patch, and merging would still work fine instead of amending the 5th patch - please let me know what is the best way to proceed
Best regards, Claus Schneider
On Tue, Mar 10, 2026 at 10:04 PM Claus Schneider <claus.schneider@eficode.com> wrote:
Show 39 quoted lines
> > Hi .. > > Thanks .. I will fix both. > > Br > Claus Schneider > > On Wed, Mar 4, 2026 at 3:02 PM Kristoffer Haugsbakk > <kristofferhaugsbakk@fastmail.com> wrote: > > > > 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