ruby/lib/bundler/source
Daniel Colson d0925c075b [rubygems/rubygems] Ensure refs directory in cached git source
See https://github.com/rubygems/rubygems/issues/8046 for details

Prior to this commit a cached git source without a specific ref wouldn't
survive pushing to a remote and then pulling on a different machine.
We'd end up without a refs directory in the cache, at which point git
won't recognize it as a repo.

This commit fixes the problem by adding a refs directory if it's not
already there. This needs to be done as early as possible, so any git
commands will work as expected, so this commit adds it before creating
the app cached git proxy.

8c89f0b065
2024-09-23 10:49:21 +00:00
..
git [rubygems/rubygems] Restore support for passing relative paths to :git 2024-08-21 14:47:57 +00:00
path Merge 16c3535413 2022-09-05 14:37:12 +09:00
rubygems [rubygems/rubygems] Use rubygems vendored uri from Bundler when available 2024-01-29 12:15:10 +09:00
gemspec.rb
git.rb [rubygems/rubygems] Ensure refs directory in cached git source 2024-09-23 10:49:21 +00:00
metadata.rb [rubygems/rubygems] Fix error when Bundler installation is corrupted 2024-05-13 09:19:45 +00:00
path.rb [rubygems/rubygems] Unconditionally set installed_by_version 2024-09-20 14:26:13 +00:00
rubygems.rb [rubygems/rubygems] Fix --local hitting the network when default gems are included 2024-09-17 14:39:06 +09:00
rubygems_aggregate.rb [rubygems/rubygems] Improve sources representation 2021-12-03 20:00:50 +09:00