-
Notifications
You must be signed in to change notification settings - Fork 117
Plugin fails to determine git version #720
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
Comments
Hello, So I beleive you need to analogically edit the plugin files: |
Just to confirm, I have edited the 2 files mentioned above, removed all the "--no-color" params and it works fine now. |
Thank you. I applied your changes and now the plugin works. Maybe I can turn this into a PR which works on both git versions. |
While it is correct to remove --no-color in git --version, it is bad idea to remove --no-color in xitolite_adapter.rb since log/diff/branch commands have this argument. So the only change that is needed is in ./lib/redmine_git_hosting/commands/git.rb. |
As discussed in #732 (comment), issues related to Redmine < 4.0 or severely outdated issues are being closed to help clean up the issue tracker. If this issue is still relevant to you and you are running Redmine >= 4.0, please open a new issue including all new relevant information. |
Here is a shell conversation that I believe explains what's wrong:
The text was updated successfully, but these errors were encountered: