summaryrefslogtreecommitdiff
path: root/lib/bundler/source/git/git_proxy.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-06-10 16:11:57 +0200
committerHiroshi SHIBATA <[email protected]>2025-06-19 10:23:36 +0900
commit441f18df5279ba8f921015dcdd9ed1e7299660e9 (patch)
treeb2d689dc543e951341008ccf97a468fb76938db6 /lib/bundler/source/git/git_proxy.rb
parent471da0f0bd8adcff4a32d51fcf5fe8828f05d6b0 (diff)
Skip to Bundler 4 directly
Diffstat (limited to 'lib/bundler/source/git/git_proxy.rb')
-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 1a7a0959c9..f613377cb2 100644
--- a/lib/bundler/source/git/git_proxy.rb
+++ b/lib/bundler/source/git/git_proxy.rb
@@ -408,7 +408,7 @@ module Bundler
def capture3_args_for(cmd, dir)
return ["git", *cmd] unless dir
- if Bundler.feature_flag.bundler_3_mode? || supports_minus_c?
+ if Bundler.feature_flag.bundler_4_mode? || supports_minus_c?
["git", "-C", dir.to_s, *cmd]
else
["git", *cmd, { chdir: dir.to_s }]