Skip to content

Commit d3512d0

Browse files
authored
Merge pull request #9294 from ianks/ianks/git-proxy-revision-fix
Ensure revision is always re-resolved in `git_proxy.rb`
2 parents f9d5a9f + 69d955e commit d3512d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/lib/bundler/source/git/git_proxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def copy_to(destination, submodules = false)
137137
git "fetch", "--force", "--quiet", *extra_fetch_args(ref), dir: destination
138138
end
139139

140-
git "reset", "--hard", @revision, dir: destination
140+
git "reset", "--hard", revision, dir: destination
141141

142142
if submodules
143143
git_retry "submodule", "update", "--init", "--recursive", dir: destination

0 commit comments

Comments
 (0)