Skip to content
Snippets Groups Projects
Commit 3805850e authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #2414 from sjackman/update-test-fetch-shallow

update-test: Use git fetch --tags --depth=1
parents 8b682e22 89f3b6d6
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ module Homebrew
previous_tag =
Utils.popen_read("git", "tag", "--list", "--sort=-version:refname").lines[1]
unless previous_tag
safe_system "git", "fetch", "--tags"
safe_system "git", "fetch", "--tags", "--depth=1"
previous_tag =
Utils.popen_read("git", "tag", "--list", "--sort=-version:refname").lines[1]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment