diff options
Diffstat (limited to 'lib/gitlab/shell.rb')
-rw-r--r-- | lib/gitlab/shell.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/shell.rb b/lib/gitlab/shell.rb index 94073d816e5..2744d627ceb 100644 --- a/lib/gitlab/shell.rb +++ b/lib/gitlab/shell.rb @@ -93,12 +93,13 @@ module Gitlab # name - project path with namespace # remote - remote name # forced - should we use --force flag? + # no_tags - should we use --no-tags flag? # # Ex. # fetch_remote("gitlab/gitlab-ci", "upstream") # def fetch_remote(storage, name, remote, forced: false, no_tags: false) - args = [gitlab_shell_projects_path, 'fetch-remote', storage, "#{name}.git", remote, '2100'] + args = [gitlab_shell_projects_path, 'fetch-remote', storage, "#{name}.git", remote, '800'] args << '--force' if forced args << '--no-tags' if no_tags |