Re: [PATCH v3 2/5] read-cache: submodule add need --force given ignore=all configuration
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Jan 15, 2026, 15:42 UTC
- Message-ID
- <f021269b-c89c-41c8-aa08-2ec2443ac7e8@app.fastmail.com>
- In-Reply-To
- <de72bf0a9135224ed4c4a05ae00deadc28225ac0.1768376879.git.gitgitgadget@gmail.com>
On Wed, Jan 14, 2026, at 08:47, Claus Schneider(Eficode) via GitGitGadget wrote:
Show 16 quoted lines
> From: "Claus Schneider(Eficode)" <claus.schneider@eficode.com> > > Submodules configured with ignore=all are now skipped during add operations > unless overridden by --force and the submodule path is explicitly specified. > > A message is printed (like ignored files) guiding the user to use the > --force flag if the user has explicitely want to update the submodule > reference. > > The reason for the change is support submodule branch tracking or > similar and git status states nothing and git add should not add either > as a default behaviour. The workflow is more logic and similar to regular > ignored files even the submodule is already tracked. > > The change opens up a lot of possibilities for submodules to be used > more freely and simular to the repo tool. A submodule can be added for many
s/simular/similar/ ? Although the sentence doesn’t quite make sense to me. Well I’m unfamiliar with the domain anyway. ;)
> more reason and loosely coupled dependencies to the super repo which often
s/more reason/more reasons/ ?
> gives the friction of handle the explicit commits and updates without
s/handle/handling/
Show 5 quoted lines
> the need for tracking the submodule sha1 by sha1. > > Signed-off-by: Claus Schneider(Eficode) <claus.schneider@eficode.com> > --- >[snip]