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

GitDownloadStrategy: remove redundant use of :quiet_flag

parent 90b1102f
No related branches found
No related tags found
No related merge requests found
......@@ -526,9 +526,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
else `git symbolic-ref refs/remotes/origin/HEAD`.strip.split("/").last
end
args = %w{checkout -f}
args << { :quiet_flag => '-q' }
args << ref
%W{checkout -f #{ref}}
end
def checkout
......@@ -542,9 +540,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
else "origin/HEAD"
end
args = %w{reset}
args << { :quiet_flag => "-q" }
args << "--hard" << ref
%W{reset --hard #{ref}}
end
def reset
......
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