git_reference_ensure_log

Ensure there is a reflog for a particular reference.

Make sure that successive updates to the reference will append to its log.

extern (C) nothrow @nogc
int
git_reference_ensure_log

Parameters

repo libgit2_d.types.git_repository*

the repository

refname const(char)*

the reference's name

Return Value

Type: int

0 or an error code.

Meta