libgit2

git_remote_update_tips

Version:

Update the tips to the new state

Signature

int git_remote_update_tips(git_remote *remote, int (*)(const char *, const git_oid *, const git_oid *) cb);

Parameters

In
remote

the remote to update

int (*)(const char *, const git_oid *, const git_oid *)
In
cb

callback to run on each ref update. 'a' is the old value, 'b' is then new value

Returns

int

Versions