Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore support for old git versions #4233

Merged
merged 6 commits into from
Jan 5, 2021

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

#4196 introduced using the git -C flag to workaround some JRuby issues on Windows. However, the -C flag is only supported since git 1.8.5, and some environments still have an old git. In particular, CentOS 7 ships an older git.

What is your fix for the problem, implemented in this PR?

My fix is to restore the previous behavior if running on old git version, and to schedule dropping support for old git versions in bundler 3.

Fixes #4229.

Make sure the following tasks are checked

@bundlerbot bundlerbot added Bundler CI CI related issues RubyGems labels Jan 5, 2021
@deivid-rodriguez
Copy link
Member Author

Thanks @simi!!

@deivid-rodriguez deivid-rodriguez merged commit 9e48dbc into master Jan 5, 2021
@deivid-rodriguez deivid-rodriguez deleted the simplify_errors_on_git_proxy branch January 5, 2021 14:52
deivid-rodriguez added a commit that referenced this pull request Jan 11, 2021
Restore support for old git versions

(cherry picked from commit 9e48dbc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git checkout fails when using older versions of git
4 participants