Build error with latest master

Dirk Hohndel dirk at
Thu May 28 16:07:14 PDT 2015

On Thu, May 28, 2015 at 11:39:07PM +0100, Pedro Neves wrote:
> Hi all:
> When trying to build Subsurface from the latest master, I get the following
> error:
> Konsole output
> /home/paneves/Diveapps/subsurface/git-access.c: In function
> ‘update_local_repo’:
> /home/paneves/Diveapps/subsurface/git-access.c:111:2: error: unknown type
> name ‘git_fetch_options’
>  git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
>  ^
> /home/paneves/Diveapps/subsurface/git-access.c:111:27: error:
> ‘GIT_FETCH_OPTIONS_INIT’ undeclared (first use in this function)
>  git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;

OK, I foolishly assumed that all components of this came in v0.20 but that
clearly isn't the case.

I'll figure out when these types were added and adjust the conditional
compile accordingly.


More information about the subsurface mailing list