"Johannes Schindelin via GitGitGadget" <gitgitgadget@xxxxxxxxx> 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.<name>.branch` to `master` > will reinstate the old behavior. > > Helped-by: Philippe Blain <levraiphilippeblain@xxxxxxxxx> > Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx> > --- Well explained. Thanks.