Skip to content

Config: move to cffi#361

Merged
carlosmn merged 2 commits intolibgit2:masterfrom
carlosmn:cffi-config
Apr 26, 2014
Merged

Config: move to cffi#361
carlosmn merged 2 commits intolibgit2:masterfrom
carlosmn:cffi-config

Conversation

@carlosmn
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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