Re: [PATCH] git: add --no-optional-locks option
- From
Stefan Beller <sbeller@google.com>
- Date
- Sep 22, 2017, 20:09 UTC
- Message-ID
- <CAGZ79kaUTdFi5LkgR6zKeb+CH8vpfPQRZf6bFqRfYY-YXy_TNA@mail.gmail.com>
- In-Reply-To
- <20170922042539.fs37bauiabfqcjx5@sigill.intra.peff.net>
On Thu, Sep 21, 2017 at 9:25 PM, Jeff King <peff@peff.net> wrote:
> > But imagine that "git status" learns to recurse into submodules and run > "git status" inside them. Surely we would want the submodule repos to > also avoid taking any unnecessary locks?
You can teach Git to recurse into submodules already at home, just 'git config status.submoduleSummary none'. ;)
It occurs to me that the config name is badly choosen, as it stores an argument for git status --ignore-submodules[=mode]