Skip to content

Add libgit2 version check to C code - #365

Merged
jdavid merged 1 commit into
libgit2:masterfrom
ircubic:check-libgit2-version
Apr 30, 2014
Merged

jdavid merged 1 commit into
libgit2:masterfrom
ircubic:check-libgit2-version

Conversation

@ircubic

@ircubic ircubic commented Apr 29, 2014

Copy link
Copy Markdown
Contributor

This should cause pygit2 to fail a bit more gracefully when the wrong version of libgit2 is installed. I missed this when I was installing, and it should also be a good way to address #363.

I put the check in types.h because it seemed like the most central place to put this.

@ircubic ircubic changed the title Add version check to C code Apr 29, 2014
@jdavid
jdavid merged commit 1fbe52c into libgit2:master Apr 30, 2014
@ircubic
ircubic deleted the check-libgit2-version branch April 30, 2014 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants