libgit2

git_fetch_options

Version:

Signature

typedef struct git_fetch_options { int version git_remote_callbacks callbacks git_fetch_prune_t prune int update_fetchhead git_remote_autotag_option_t download_tags };

Members

int
version
callbacks

Callbacks to use for this fetch operation

prune

Whether to perform a prune after the fetch

int
update_fetchhead

Whether to write the results to FETCH_HEAD. Defaults to on. Leave this default in order to behave like git.

download_tags

Determines how to behave regarding tags on the remote, such as auto-downloading tags for objects we're downloading or downloading all of them.

The default is to auto-follow tags.

Parameter To

Versions