diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-02 10:45:07 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-05 16:39:54 +0300 |
commit | 5f5e833938fa349d8b916302cda4f95a4449fac6 (patch) | |
tree | ed8f4ef0eed52d49a4f8b74abc033cc9c271f164 | |
parent | fc2cc084ea92d2a04b23ece7c921ddb2be369ee3 (diff) |
Don't fetch any tags from a forked repo
Closes #13957
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index e9978c5e660..6ee1403064c 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -632,7 +632,7 @@ class Repository end def fetch_ref(source_path, source_ref, target_ref) - args = %W(#{Gitlab.config.git.bin_path} fetch -f #{source_path} #{source_ref}:#{target_ref}) + args = %W(#{Gitlab.config.git.bin_path} fetch --no-tags -f #{source_path} #{source_ref}:#{target_ref}) Gitlab::Popen.popen(args, path_to_repo) end |