Re: Make "git checkout" automatically update submodules?

2015-10-23 Thread Stefan Beller
On Thu, Oct 15, 2015 at 3:50 PM, Kannan Goundan wrote: > Git submodules seem to be a great fit for one of our repos. The biggest > pain point is that it's too easy to forget to update submodules. > > 1. I often forget since most repos don't need it. > 2. Infrequent users of

Re: Make "git checkout" automatically update submodules?

2015-10-23 Thread Junio C Hamano
Kannan Goundan writes: > I think the way I described it ("sponsoring a feature") doesn't really > reflect how I was imagining it. In my head, it looked like this: > ... > I could try doing that myself, but someone familiar with the Git > codebase/community/history would be

Re: Make "git checkout" automatically update submodules?

2015-10-23 Thread Junio C Hamano
Stefan Beller writes: > Checkout [1]. There are lots of good patches, but hard to find. > (Including, but not limited to a recursive git checkout enhancement!) > ... > [1] https://github.com/jlehmann/git-submod-enhancements/wiki Yes, Jens is not just one of the people who

Re: Make "git checkout" automatically update submodules?

2015-10-23 Thread Christian Couder
On Fri, Oct 23, 2015 at 5:46 AM, Kannan Goundan wrote: > Junio C Hamano pobox.com> writes: > >> We are unfortunately not set up to handle money well. For a >> background explanation, please go read [*1*], which I wrote my take >> on "money" some time ago. Note that it is an

Re: Make "git checkout" automatically update submodules?

2015-10-23 Thread Kannan Goundan
Stefan Beller google.com> writes: > [1] https://github.com/jlehmann/git-submod-enhancements/wiki Oh wow, Christmas came early! I'll give this code a try. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: Make "git checkout" automatically update submodules?

2015-10-22 Thread Kannan Goundan
Junio C Hamano pobox.com> writes: > We are unfortunately not set up to handle money well. For a > background explanation, please go read [*1*], which I wrote my take > on "money" some time ago. Note that it is an explanation and not a > justification. It explains why we are not set up to

Make "git checkout" automatically update submodules?

2015-10-15 Thread Kannan Goundan
Git submodules seem to be a great fit for one of our repos. The biggest pain point is that it's too easy to forget to update submodules. 1. I often forget since most repos don't need it. 2. Infrequent users of our repo almost never know to update submodules and end up coming to us with strange

Re: Make "git checkout" automatically update submodules?

2015-10-15 Thread Junio C Hamano
Kannan Goundan writes: > Git submodules seem to be a great fit for one of our repos. The biggest > pain point is that it's too easy to forget to update submodules. > ... > In the common case of the submodule content having no local edits, it would > be nice if "git checkout"