libgit2

git_remote_set_fetch_refspecs

Version:

Set the remote's list of fetch refspecs

The contents of the string array are copied.

Signature

int git_remote_set_fetch_refspecs(git_remote *remote, git_strarray *array);

Parameters

In
remote

the remote to modify

In
array

the new list of fetch resfpecs

Returns

int

Versions