mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-06 08:18:15 +08:00
override the remote refs only for /heads/
it's possible to add more refs, which makes git refuse to update the configuration unless a value pattern to overwrite is specified. Change-Id: I326c05a8ed200339bf8f3f45032409150570538c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
c2543dc358
commit
1e103533a0
@@ -516,7 +516,7 @@ sub git_add_remotes
|
||||
|
||||
$gerrit_repo_url .= $gerrit_repo_basename;
|
||||
$self->exe('git', 'config', 'remote.gerrit.url', $gerrit_repo_url);
|
||||
$self->exe('git', 'config', 'remote.gerrit.fetch', '+refs/heads/*:refs/remotes/gerrit/*');
|
||||
$self->exe('git', 'config', 'remote.gerrit.fetch', '+refs/heads/*:refs/remotes/gerrit/*', '/heads/');
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user