Skip to content
Snippets Groups Projects
Commit 166e2623 authored by Jack Nagel's avatar Jack Nagel
Browse files

GitDownloadStrategy: quiet reset in non-verbose mode

parent 5f5d6ace
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ class GitDownloadStrategy < AbstractDownloadStrategy
# otherwise the checkout-index won't checkout HEAD
# https://github.com/mxcl/homebrew/issues/7124
# must specify origin/HEAD, otherwise it resets to the current local HEAD
quiet_safe_system @@git, "reset", "--hard", "origin/HEAD"
quiet_safe_system @@git, "reset", { :quiet_flag => "-q" }, "--hard", "origin/HEAD"
end
# http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export
safe_system @@git, 'checkout-index', '-a', '-f', "--prefix=#{dst}/"
......
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