Stefan Beller <sbeller@xxxxxxxxxx> writes: > you'd fetch as usual without moving the anchor point. You could have > options like > > $ git fetch --recurse-submodules[=label/pattern] > --unshallow-submodules[=label/pattern] > ... > So the first one should be shallowed after fetch, but the second would > fetch or even deepen automatically? > > I am not sure if we add too much "intuitive magic" here as it would be > hard to explain why that happens? All of these are things that need to be thought about when you are making more things recurse into submodules, as you would want to make sure people can do different things to each of the submodule they have. And if my comment to an RFC/PATCH made you think about them, it served its purpose. I didn't mean to say "You must implement the smart from the beginning"--I just meant to say that users will expect more from the recursive behaviour and you must be prepared for it. -- 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