libgit2

git_remote_set_update_fetchhead

Version:

Sets the update FETCH_HEAD setting. By default, FETCH_HEAD will be updated on every fetch. Set to 0 to disable.

Signature

void git_remote_set_update_fetchhead(git_remote *remote, int value);

Parameters

In
remote

the remote to configure

int
In
value

0 to disable updating FETCH_HEAD

Versions