From: Junio C Hamano Date: Fri, 20 Feb 2026 22:27:43 GMT Subject: Re: [PATCH v4 0/5] git-add: Skip submodules with ignore=all unless --force and explicit path used Message-ID: In-Reply-To: "Claus Schneider via GitGitGadget" writes: > The ignore=all configuration for submodules is currently honored by status > and diff, but not by add. This inconsistency causes friction when working > with submodules: > > * Developers unintentionally stage submodule updates, leading to conflicts > and unnecessary changes. > * Tracking branches in submodule configs causes friction as updates to the > submodule SHA1 are added without intent. > > This patch aligns git add with the behavior of status and diff: > > * Submodules marked ignore=all are skipped by default. > * Attempting to add such a submodule explicitly now requires --force. > > A submodule can frictionless track a branch in the configuration or manually > switched to and use update --update --remote without unintentionally add the > changes to the super-project. > > Tests that previously added submodules without --force have been updated > accordingly. A new test is added to test the behavior of git add with and > without --force. The latest round of this series has not seen any meaningful reviews. Everybody happy with this latest round? Thanks.