GitDownloadStrategy: quiet reset in non-verbose mode
This commit is contained in:
parent
5f5d6ace5f
commit
166e262312
@ -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}/"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user