Skip to content
  • Mislav Marohnić's avatar
    1a0be6f0
    Improve `git --version` git revision lookup · 1a0be6f0
    Mislav Marohnić authored
    It doesn't try to chdir into RBENV_ROOT anymore because that might be
    a location of an unrelated rbenv install that might have a different
    version than the current one that is installed e.g. via a package
    manager such as Homebrew.
    
    Now just tries the repo where the source files (`libexec/*`) are
    located, and if that isn't a valid rbenv repo, bail out early.
    1a0be6f0
    Improve `git --version` git revision lookup
    Mislav Marohnić authored
    It doesn't try to chdir into RBENV_ROOT anymore because that might be
    a location of an unrelated rbenv install that might have a different
    version than the current one that is installed e.g. via a package
    manager such as Homebrew.
    
    Now just tries the repo where the source files (`libexec/*`) are
    located, and if that isn't a valid rbenv repo, bail out early.
Loading