diff options
| author | Edouard CHIN <chin.edouard@gmail.com> | 2025-01-22 13:59:47 +0100 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-01-31 11:52:57 +0900 |
| commit | 366462bd46e00c380796b8e040870a7a365da73b (patch) | |
| tree | 1a2447e2a0bba7c48eeb81bca93be11366fc21e4 /include/ruby/encoding.h | |
| parent | 7604588f6fea57c0b1274884334946dbe4d757a9 (diff) | |
- Add a mention to git 2.32 in the building ruby documentation:
I had issues building Ruby as I was using git 2.30.
The error was:
> file2lastrev.rb: git rev-parse failed error: could not expand
> include path '~/.gitcinclude'
The default system git config includes paths making use of `$HOME`,
but that env variable gets removed when building: https://github.com/ruby/ruby/blob/7070b1b1968f31f999636b42a1af872458cd5a81/tool/lib/vcs.rb#L546-L547
It works with git `>= 2.32` thanks to the `GIT_CONFIG_SYSTEM`
feature which gets set to a Null IO in order to override
the system gitconfig. https://github.com/ruby/ruby/blob/7070b1b1968f31f999636b42a1af872458cd5a81/tool/lib/vcs.rb#L549
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12611
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions
