Commit d01d5ea3 authored by Simo Fält's avatar Simo Fält Committed by The Qt Project
Browse files

Removing the relative submodule path patch


It doesn't do what it was supposed to do, while we don't have url
for the origin remote.

Change-Id: Ie903c28b8cea78ef33289ad6cbd6c84c20b7b249
Reviewed-by: default avatarSergio Ahumada <sergio.ahumada@digia.com>
No related merge requests found
Showing with 0 additions and 6 deletions
......@@ -266,12 +266,6 @@ sub update_submodule
confess "Command `@cmd' did not output a giturl";
}
# Let's be prepared for relative paths in .gitmodules
if ($giturl eq "../$submodule.git") {
$giturl = trim $self->exe_qx( qw(git config --file), "$base_dir/.git/config", "remote.origin.url" );
$giturl =~ s,[^/]+$,$submodule.git,;
}
chdir catfile($base_dir, $submodule);
$self->exe( qw(git fetch --verbose), $giturl, "+$ref:refs/heads/updated_submodule" );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment