git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v5 0/2] series: submodule: fix handling of relative superproject origin URLs

From
Jon Seymour <jon.seymour@gmail.com>
Date
May 24, 2012, 03:37 UTC
Message-ID
<1337830657-16400-1-git-send-email-jon.seymour@gmail.com>
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 failures handling relative superproject origin
    URLs
  submodule: fix handling of relative superproject origin URLs
 git-submodule.sh           | 57 +++++++++++++++++++++++++++++++++----
 t/t7400-submodule-basic.sh | 60 +++++++++++++++++++++++++++++++++++++++
 t/t7403-submodule-sync.sh  | 70 +++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 180 insertions(+), 7 deletions(-)
v4->v5 changes:
       Used test_expect_failure for failing tests.
       Added comments to justify statements.
       Isolated changes to the relative branch.
       Used role-based variable names to help explain transformations.	
-- 
1.7.10.2.649.g5ca7d80
Next: Jon Seymour
Message 1 of 7 in “series: submodule: fix handling of relative superproject origin URLs”
  1. 0/2 series: submodule: fix handling of relative superproject origin URLsJon Seymour, May 24, 2012
  2. 1/2 submodule: document failures handling relative superproject origin URLsJon Seymour, May 24, 2012
  3. 2/2 submodule: fix handling of relative superproject origin URLsJon Seymour, May 24, 2012
  4. Jon SeymourMay 24, 2012
  5. Phil HordMay 24, 2012
  6. Jon SeymourMay 24, 2012
  7. Jon SeymourMay 24, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.