git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ''git submodule sync'' should not add uninitialized submodules to .git/config
@ 2011-06-23 11:13 Maarten Billemont
  2011-06-23 13:39 ` Phil Hord
  2011-06-23 14:35 ` Junio C Hamano
  0 siblings, 2 replies; 15+ messages in thread
From: Maarten Billemont @ 2011-06-23 11:13 UTC (permalink / raw)
  To: Git Mailing List

When I initialize 2/3 submodules of my git repository and do git submodule update, all is fine: Only the 2 submodules that I need are updated.

When I run a git submodule sync to update the URLs that may have been changed in .gitmodules, it ADDS the URL of the submodule that was NOT initialized, thus "initializing" it.

Now, when I run git submodule update, it starts checking out the third module and my workflow is broken.

git submodule sync should not add entries to .git/config, only update existing ones.

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

end of thread, other threads:[~2011-06-30  0:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 11:13 ''git submodule sync'' should not add uninitialized submodules to .git/config Maarten Billemont
2011-06-23 13:39 ` Phil Hord
2011-06-23 14:35 ` Junio C Hamano
2011-06-23 19:14   ` Jens Lehmann
2011-06-23 22:28     ` Junio C Hamano
2011-06-23 23:10       ` Andreas Köhler
2011-06-24  6:17         ` Jens Lehmann
2011-06-24  4:13       ` Re* " Junio C Hamano
2011-06-24  6:20         ` Jens Lehmann
2011-06-25 23:26         ` [PATCH] submodule add: always initialize .git/config entry Jens Lehmann
2011-06-30  0:47           ` Junio C Hamano
2011-06-25 20:41       ` [PATCH v2] submodule sync: do not auto-vivify uninteresting submodule Jens Lehmann
2011-06-23 20:01   ` ''git submodule sync'' should not add uninitialized submodules to .git/config Phil Hord
2011-06-23 21:47     ` Junio C Hamano
2011-06-23 23:06       ` Phil Hord

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).