On 03/14, Junio C Hamano wrote:
> Brandon Williams writes:
>
> > + if git config --get submodule.active >/dev/null
> > + then
> > + # If the submodule being adding isn't already covered by the
> > + # current configured pathspec, set the submodule's
Brandon Williams writes:
> + if git config --get submodule.active >/dev/null
> + then
> + # If the submodule being adding isn't already covered by the
> + # current configured pathspec, set the submodule's active flag
> + if ! git
In addition to adding submodule..url to the config, set
submodule..active to true unless submodule.active is configured
and the submodule's path matches the configured pathspec.
Signed-off-by: Brandon Williams
---
git-submodule.sh | 12
3 matches
Mail list logo