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

Config: move to cffi #361

Merged
merged 2 commits into from
Apr 26, 2014
Merged

Config: move to cffi #361

merged 2 commits into from
Apr 26, 2014

Conversation

carlosmn
Copy link
Member

This halves the amount of code we have to take into account for dealing
with the config.

There is a slight change in the API. Config.get_multivar() returns an
iterator instead of a list, which lets us reuse code from the general
iterator and is closer to libgit2's API.

This halves the amount of code we have to take into account for dealing
with the config.

There is a slight change in the API. Config.get_multivar() returns an
iterator instead of a list, which lets us reuse code from the general
iterator and is closer to libgit2's API.
Expose Config.parse_bool() and Config.parse_int() to parse text
according to git-config rules.
@carlosmn
Copy link
Member Author

Now that Travis likes this as well, I'll merge it in a day or two if nobody has comments.

@jdavid
Copy link
Member

jdavid commented Apr 23, 2014

+1

carlosmn added a commit that referenced this pull request Apr 26, 2014
@carlosmn carlosmn merged commit 9309329 into libgit2:master Apr 26, 2014
@carlosmn carlosmn deleted the cffi-config branch April 26, 2014 14:39
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