GitDownloadStrategy: disable automatic tag following
This commit is contained in:
parent
9bb218f16c
commit
6f8d81e780
@ -683,6 +683,9 @@ class GitDownloadStrategy < VCSDownloadStrategy
|
|||||||
system_command! "git",
|
system_command! "git",
|
||||||
args: ["config", "remote.origin.fetch", refspec],
|
args: ["config", "remote.origin.fetch", refspec],
|
||||||
chdir: cached_location
|
chdir: cached_location
|
||||||
|
system_command! "git",
|
||||||
|
args: ["config", "remote.origin.tagOpt", "--no-tags"],
|
||||||
|
chdir: cached_location
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_repo
|
def update_repo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user