Skip to content

Commit fb92971

Browse files
committed
Merge pull request #9294 from ianks/ianks/git-proxy-revision-fix
Ensure revision is always re-resolved in `git_proxy.rb` (cherry picked from commit d3512d0)
1 parent f23bd23 commit fb92971

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)