libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.93k stars 315 forks source link

Could not determine kind of name for C.GIT_BLAME_IGNORE_WHITESPACE #711

Closed utkarsh2102 closed 3 years ago

utkarsh2102 commented 3 years ago

Hey,

Whilst building git2go v31.4.3 with libgit2 v1.0.1, I get a build failure with the following error: src/gopkg.in/libgit2/git2go.v31/blame.go:51:54: could not determine kind of name for C.GIT_BLAME_IGNORE_WHITESPACE

I am not sure what's wrong, any ideas?

lhchavez commented 3 years ago

per https://github.com/libgit2/git2go#which-go-version-to-use it should be v30, not v31 if you need compatibility with libgit2 v1.0. v31 requires libgit2 v1.1.

utkarsh2102 commented 3 years ago

Aah, I am terribly sorry for not taking a look at that earlier. Thanks for your work, anyhow! :)

lhchavez commented 3 years ago

Aah, I am terribly sorry for not taking a look at that earlier. Thanks for your work, anyhow! :)

no worries :)