Re: [RFC PATCH 0/2] Teach fetch and pull to recursively fetch submodules too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jens Lehmann <Jens.Lehmann@xxxxxx> writes:

> So I extended the fetch command to fetch populated submodules too. I
> also added a command line option to fetch and pull and the second patch
> introduces a per submodule config option to give users the chance to
> control that behavior.
>
> And maybe we need a config option to customize that behavior
> for all submodules or all repos too?
>
> Opinions?

I think your "if a particular submodule is already initialized, recursing
into it is more likely than not what the user wants" is a sound heuristic.

I am not sure what you mean by "all submodules" nor "all repos", though.
In order to trigger the feature this series introduces, users have a means
to initialize all submodules in one go (update --recursive --init), and
wouldn't that be sufficient?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]