summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2021-03-17 12:10:29 +0100
committergit <[email protected]>2024-07-23 20:15:07 +0000
commit6b5579153daf6e6111ce3f54560c68c84e2a4eee (patch)
tree07329a9bb5e5d288746db20ab6ee0c027e5b6025 /lib
parent83b48022c1093753b4dc1179e1f0ecd0a89bcbce (diff)
[rubygems/rubygems] Add debugging message to `Bundler::Source::Git#specs`
It's not obvious that the git source actually reinstalls a proper checkout of the repository on usage if necessary. This adds a debugging message to log that, just like it's done when explicitly installing the source. https://github.com/rubygems/rubygems/commit/04e8e42a43
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/source/git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index 174a24d358..477c178f6b 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -191,6 +191,7 @@ module Bundler
if requires_checkout? && !@copied
fetch
+ Bundler.ui.debug " * Checking out revision: #{ref}"
git_proxy.copy_to(install_path, submodules)
serialize_gemspecs_in(install_path)
@copied = true