git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] submodule: fix handling of relative superproject origin URLs
@ 2012-05-23 16:45 Jon Seymour
  2012-05-23 16:45 ` [PATCH v4 1/2] submodule: document " Jon Seymour
  2012-05-23 16:45 ` [PATCH v4 2/2] submodule: fix " Jon Seymour
  0 siblings, 2 replies; 10+ messages in thread
From: Jon Seymour @ 2012-05-23 16:45 UTC (permalink / raw)
  To: git; +Cc: gitster, Jens.Lehmann, Jon Seymour

This series ensures that git submodule handles relative superproject origin URLs correctly.

Current behaviour:

* does not guarantee that the submodule.{name}.url property of the superproject is 
always confgured with a valid path to the submodule's origin repo that is 
relative to the working tree of the superproject.
* does not guarantee that the remote.origin.url property of the submodule is
always configured with a valid path to the submodule's origin repo that is 
relative to the working tree of the submodule
* errors out (origin URL = foo) even though this is not strictly necessary.

These changes:

* guarantee that the configured paths are always valid relative paths
from the working tree of the repo containing to the configuration to the
origin repo of the described submodule.

Jon Seymour (2):
  submodule: document handling of relative superproject origin URLs
  submodule: fix handling of relative superproject origin URLs

 git-submodule.sh           | 17 ++++++++++--
 t/t7400-submodule-basic.sh | 60 +++++++++++++++++++++++++++++++++++++++++++
 t/t7403-submodule-sync.sh  | 64 +++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 138 insertions(+), 3 deletions(-)

-- 
1.7.10.2.594.g24e850d

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

end of thread, other threads:[~2012-05-24  2:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 16:45 [PATCH v4 0/2] submodule: fix handling of relative superproject origin URLs Jon Seymour
2012-05-23 16:45 ` [PATCH v4 1/2] submodule: document " Jon Seymour
2012-05-23 20:58   ` Jens Lehmann
2012-05-23 21:14     ` Junio C Hamano
2012-05-23 21:45       ` Jens Lehmann
2012-05-23 21:55       ` Jon Seymour
2012-05-23 16:45 ` [PATCH v4 2/2] submodule: fix " Jon Seymour
2012-05-23 21:50   ` Jens Lehmann
2012-05-23 22:17     ` Jon Seymour
2012-05-24  2:32       ` Jon Seymour

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