summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Ker-Seymer <ian.kerseymer@shopify.com>2026-02-01 12:45:43 -0500
committergit <svn-admin@ruby-lang.org>2026-02-02 04:55:42 +0000
commit70cc932d2791e885c1f085ca5fdd45ded09dd1a8 (patch)
tree2feb485b6392a0568e620658c7205910d5e4d2ca
parent34f848b366f72ef04a29097ed2e72e748ecbb4ae (diff)
[ruby/rubygems] Fix nil `@revision` in `git_proxy.rb`
https://github.com/ruby/rubygems/commit/69d955eb67
-rw-r--r--lib/bundler/source/git/git_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb
index cd352c22a7..fe05e9d57b 100644
--- a/lib/bundler/source/git/git_proxy.rb
+++ b/lib/bundler/source/git/git_proxy.rb
@@ -137,7 +137,7 @@ module Bundler
git "fetch", "--force", "--quiet", *extra_fetch_args(ref), dir: destination
end
- git "reset", "--hard", @revision, dir: destination
+ git "reset", "--hard", revision, dir: destination
if submodules
git_retry "submodule", "update", "--init", "--recursive", dir: destination