<div dir="ltr"><div><div><div>Good night.<br><br></div>While compiling last git-master (2e6fcfc) I have had this problem:<br><br>compiling git-access.c                                                                                                                                                              <br>git-access.c: In function ‘update_local_repo’:                                                                                                                                      <br>git-access.c:23:65: error: too many arguments to function ‘git_remote_fetch’                                                                                                        <br>   #define git_remote_fetch(remote, refspecs, signature, reflog) git_remote_fetch(remote, signature, reflog)                                                                        <br>                                                                 ^                                                                                                                  <br>git-access.c:87:10: note: in expansion of macro ‘git_remote_fetch’                                                                                                                  <br>  error = git_remote_fetch(origin, NULL, NULL, NULL);                                                                                                                               <br>          ^                                                                                                                                                                         <br>In file included from /usr/local/include/git2/clone.h:14:0,                                                                                                                         <br>                 from /usr/local/include/git2.h:17,                                                                                                                                 <br>                 from git-access.c:11:                                                                                                                                              <br>/usr/local/include/git2/remote.h:359:17: note: declared here<br> GIT_EXTERN(int) git_remote_fetch(git_remote *remote);<br>                 ^<br>Makefile:1464: recipe for target '.obj/git-access.o' failed<br><br></div>Debian Jessie actually ships  libgit2-21, so it's easy to solve, simply building a libgit2-22 library, but it would introduce  an extra step in the building instructions (at least, as removing 2-21 could break some dependencies).<br><br></div>May be the #define can be changed to cover the older definition of git_remote_fetch<br><br><div><div>Regards.<br><br></div><div>Salva.<br></div></div></div>