Title: Submodule from relative URL · Issue #730 · gitpython-developers/GitPython · GitHub
Open Graph Title: Submodule from relative URL · Issue #730 · gitpython-developers/GitPython
X Title: Submodule from relative URL · Issue #730 · gitpython-developers/GitPython
Description: Git submodules allow relative URLs which are based on the parent repo URL. Right now this is not supported, ie. adding a submodule configuration in .gitmodules with a relative URL will fail when cloning in the add or update Submodule. A ...
Open Graph Description: Git submodules allow relative URLs which are based on the parent repo URL. Right now this is not supported, ie. adding a submodule configuration in .gitmodules with a relative URL will fail when cl...
X Description: Git submodules allow relative URLs which are based on the parent repo URL. Right now this is not supported, ie. adding a submodule configuration in .gitmodules with a relative URL will fail when cl...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/730
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Submodule from relative URL","articleBody":"Git submodules allow relative URLs which are based on the parent repo URL.\r\n\r\nRight now this is not supported, ie. adding a submodule configuration in `.gitmodules` with a relative URL will fail when cloning in the `add` or `update` `Submodule`.\r\n\r\nA sample stack trace when calling `submodule.update(init=True)`:\r\n\r\n```\r\nGitCommandError\r\nCmd('git') failed due to: exit code(128)\r\n cmdline: git clone -n --separate-git-dir=/opt/parent_project/.git/modules/submodule_project -v ../../my-company/submodule-project.git /opt/parent_project/submodule_project\r\n stderr: 'fatal: repository '../../my-company/submodule-project.git' does not exist\r\n'\r\ngit/cmd.py in wait at line 291\r\ngit/util.py in finalize_process at line 341\r\ngit/repo/base.py in _clone at line 880\r\ngit/repo/base.py in clone_from at line 925\r\ngit/objects/submodule/base.py in _clone_repo at line 261\r\ngit/objects/submodule/base.py in update at line 524\r\n```\r\n\r\nGitPython==2.1.1\r\nStill present in the current revision 8f76463221cf1c69046b27c07afde4f0442b75d5","author":{"url":"https://github.com/sp-ricard-valverde","@type":"Person","name":"sp-ricard-valverde"},"datePublished":"2018-02-27T12:13:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/730/GitPython/issues/730"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a2bd4fcc-62bf-f5ea-0141-33f01b6faccf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFFA:57C20:4CD697:6687D8:69696F77 |
| html-safe-nonce | f13a7e6ff53621c1d310b88d129a608bfc72da3337fcefab3b752c12ddfd786f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkZBOjU3QzIwOjRDRDY5Nzo2Njg3RDg6Njk2OTZGNzciLCJ2aXNpdG9yX2lkIjoiMzA5MDk5Mjg4NzAwODY4NTk0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3e4fcf1c642abab22eafeb7c8e3eda3fa9b6e8b2f28130f878d89c467267daf4 |
| hovercard-subject-tag | issue:300606334 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/730/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb4d916b4cd02a64dd5803e60ab85c709457f8f7cbb697d1ccd73f2d6732c191/gitpython-developers/GitPython/issues/730 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb4d916b4cd02a64dd5803e60ab85c709457f8f7cbb697d1ccd73f2d6732c191/gitpython-developers/GitPython/issues/730 |
| og:image:alt | Git submodules allow relative URLs which are based on the parent repo URL. Right now this is not supported, ie. adding a submodule configuration in .gitmodules with a relative URL will fail when cl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sp-ricard-valverde |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width