lib/vx/common/git.rb in vx-common-0.3.1 vs lib/vx/common/git.rb in vx-common-0.3.2
- old
+ new
@@ -34,10 +34,10 @@
checkout_cmd = "git checkout -qf #{sha}"
fetch_cmd = nil
if pull_request_id
clone_branch = ""
- fetch_cmd = "git fetch origin +refs/pull/#{pull_request_id}/merge:"
+ fetch_cmd = "git fetch origin +refs/pull/#{pull_request_id}/head"
checkout_cmd = "git checkout -q FETCH_HEAD"
end
clone_cmd = "git clone --depth=#{depth}#{clone_branch} #{src} #{path}"