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

Fix Git module config method #399

Merged
merged 2 commits into from
Dec 23, 2020

Conversation

mpapis
Copy link
Contributor

@mpapis mpapis commented Jan 21, 2019

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

The Git module config method when used via include Git does not work
as the lambda requires parameters to be present and the second part of
condition in Git::Lib::config_get calls the lambda without any params,
switching to Proc.new fixes the problem.

@stale
Copy link

stale bot commented Mar 22, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added wontfix and removed wontfix labels Mar 22, 2019
The Git module config method when used via `include Git` does not work
as the `lambda` requires parameters to be present and the second part of
condition in Git::Lib::config_get calls the lambda without any params,
switching to `Proc.new` fixes the problem.

Signed-off-by: Michal Papis <michal.papis@toptal.com>
@mpapis mpapis force-pushed the fix_config_set_when_no_git_dir branch from 79eceaa to 5b12f82 Compare March 25, 2019 12:59
@mpapis
Copy link
Contributor Author

mpapis commented Mar 25, 2019

tests are passing, the code is rebased, anything else I should do?

@stale
Copy link

stale bot commented May 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 24, 2019
@mpapis
Copy link
Contributor Author

mpapis commented May 28, 2019

still waiting for the review

@stale stale bot removed the wontfix label May 28, 2019
@stale
Copy link

stale bot commented Jul 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 27, 2019
@mpapis
Copy link
Contributor Author

mpapis commented Jul 30, 2019

still waiting for the review

@stale stale bot removed the wontfix label Jul 30, 2019
@stale
Copy link

stale bot commented Sep 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 28, 2019
@mpapis
Copy link
Contributor Author

mpapis commented Sep 30, 2019

still waiting for the review

@stale stale bot removed the wontfix label Sep 30, 2019
@stale
Copy link

stale bot commented Nov 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 29, 2019
@mpapis
Copy link
Contributor Author

mpapis commented Nov 29, 2019

still waiting for the review

@stale stale bot removed the wontfix label Nov 29, 2019
@mpapis mpapis mentioned this pull request Dec 2, 2019
3 tasks
@stale
Copy link

stale bot commented Jan 28, 2020

A friendly reminder that this issue had no activity for 60 days.

@stale stale bot added the stale label Jan 28, 2020
@stale stale bot removed the stale label Dec 23, 2020
Copy link
Member

@jcouball jcouball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed this change and it looks good. Thank you!

@jcouball jcouball merged commit 181ace3 into ruby-git:master Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants