git_remote_update_tips

Update the tips to the new state

Parameters

remote libgit2_d.types.git_remote*

the remote to update

reflog_message const(char)*

The message to insert into the reflogs. If null and fetching, the default is "fetch <name>", where <name> is the name of the remote (or its url, for in-memory remotes). This parameter is ignored when pushing.

callbacks const(.git_remote_callbacks)*

pointer to the callback structure to use

update_fetchhead int

whether to write to FETCH_HEAD. Pass 1 to behave like git.

download_tags .git_remote_autotag_option_t

what the behaviour for downloading tags is for this fetch. This is ignored for push. This must be the same value passed to git_remote_download().

Return Value

Type: int

0 or an error code

Meta