Re: Making submodules easier to work with (auto-update on checkout or merge, stash & restore submodules)
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Apr 30, 2008, 20:26 UTC
- Message-ID
- <32541b130804301326l6c740f79nac03f1045af4d6fc@mail.gmail.com>
- In-Reply-To
- <1209585345.25663.797.camel@work.sfbay.sun.com>
On 4/30/08, Roman Shaposhnik <rvs@sun.com> wrote:
> Well said.
Thanks. I'm having a bad day so a little agreement helps a lot :)
Show 9 quoted lines
> > We had some discussion on the list earlier about having submodule > > checkouts automatically acquire a branch name, so that commits don't > > get lost as easily. I was going to think about this more and > > eventually submit a patch, but I haven't gotten to it yet. Anyway, > > the idea is that you have a branch by default, so that you don't end > > up in the useless situation of not being on a branch, which encourages > > checking in without being on a branch, in the first place. > > Can you give a gmane pointer to that thread?
Try this: http://article.gmane.org/gmane.comp.version-control.git/78675
Note that this particular message is representative, but is not the best of the solutions proposed during that thread. Exactly which of the solutions, if any, is the best is left as an exercise to the reader :)
Have fun,
Avery