git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* submodules workflow aches
@ 2008-05-19 14:56 Nigel Magnay
  2008-05-19 18:11 ` Chris Shoemaker
  0 siblings, 1 reply; 3+ messages in thread
From: Nigel Magnay @ 2008-05-19 14:56 UTC (permalink / raw)
  To: git

We've been using submodule support for a few months (and I've been
checking out the list to see what other people are doing); it works
well, but there's a couple of ache points (in the sense that if I'm to
convince SVN users to migrate, they're liable to point and laugh).

The first nuisance is the 'get me up to date' stanza of 'git pull &&
git submodule update' always leaving you on (no branch), even if you
were on [master] before, and the head commit now is also equal to
[master]. Having to remember to go into several submodules and do 'git
checkout master' to get you back to ready-to-do-work mode isn't nice
(and is worse if you're on autopilot, and someone has committed a
submodule on a different branch

The second nuisance is around conflicts in submodules. If I make a
(non-conflicting) change to a submodule, merge with the head and
commit, then when I do a 'git pull' in the superproject readiness to
do a push, I get a conflict. This is presumably because it doesn't
know that the submodule change is a fast-forward. It'd be nice if it
could figure that out, and not conflict?

Are people writing their own wrapper scripts for this? I find I have a
hard time explaining why it's all necessary to svn users who just (by
and large) do 'svn up' and 'svn ci' on projects..

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-19 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 14:56 submodules workflow aches Nigel Magnay
2008-05-19 18:11 ` Chris Shoemaker
2008-05-19 18:55   ` Nigel Magnay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).