diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-06-30 13:45:39 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-07-04 14:54:26 +0900 |
| commit | 09382135de5e706d7b100900cc81ddf91f4d3314 (patch) | |
| tree | a6f5dce3db76854deffdf1d01ce0ee67febf4793 /include | |
| parent | 0ae2709dd71eaefe4a316bdbc9e97eaef3c7ae69 (diff) | |
[rubygems/rubygems] Fix git source lockfile unstability
We have some flags that limit running git commit commands under certain
situations, for example, when running under `--local`. However, those
should only affect remote git operations, not local read-only operations
like `git --version`, or `git rev-parse --abbrev-ref HEAD`.
This commit refactors things to achieve that.
By doing this, the `#to_s` representation of a source is more
consistent, since we don't get any errors when reading the checked out
branch, and we avoid some flip-flop lockfile issues.
https://github.com/rubygems/rubygems/commit/4a529fce81
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
