From: Junio C Hamano Date: Wed, 24 Jun 2020 16:17:35 GMT Subject: Re: [PATCH v4 3/9] submodule: fall back to remote's HEAD for missing remote..branch Message-ID: In-Reply-To: <54563642dbf96fcb36993c2c2d36ebefaf220cce.1593009996.git.gitgitgadget@gmail.com> "Johannes Schindelin via GitGitGadget" writes: > Even so, it should be okay to fix this behavior without anything like a > longer transition period: > > - The `git submodule update --remote` command is not really common. > > - Current Git's behavior when running this command is outright > confusing, unless the remote repository's current branch _is_ `master` > (in which case the proposed behavior matches the old behavior). > > - If a user encounters a regression due to the changed behavior, the fix > is actually trivial: setting `submodule..branch` to `master` > will reinstate the old behavior. > > Helped-by: Philippe Blain > Signed-off-by: Johannes Schindelin > --- Well explained. Thanks.