diff options
author | Simo Fält <simo.falt@digia.com> | 2013-05-07 11:52:11 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-07 10:55:44 +0200 |
commit | d01d5ea3ae9d82cff000ee48638d486aeace40f7 (patch) | |
tree | 57056b0573ecf17c5f9ea0e01906837d743c0ff4 /scripts/qt | |
parent | 5d29f5d835fb2c31f564d936ff2550600b5c6f95 (diff) |
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: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'scripts/qt')
-rwxr-xr-x | scripts/qt/qt_update_submodules.pl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/qt/qt_update_submodules.pl b/scripts/qt/qt_update_submodules.pl index d47a75e4..c72f4e13 100755 --- a/scripts/qt/qt_update_submodules.pl +++ b/scripts/qt/qt_update_submodules.pl @@ -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" ); |