Skip to content

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