libgit2

git_reference_has_log

Version:

Check if a reflog exists for the specified reference.

Signature

int git_reference_has_log(git_reference *ref);

Parameters

In
ref

A git reference

Returns

int

0 when no reflog can be found, 1 when it exists; otherwise an error code.

Versions