diff options
-rwxr-xr-x | init-repository | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-repository b/init-repository index 485a9a64..a0ea683e 100755 --- a/init-repository +++ b/init-repository @@ -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; |