git_refdb_backend.has_log

Query whether a particular reference has a log (may be empty)

Shall return 1 if it has a reflog, 0 it it doesn't and negative in case an error occurred.

A refdb implementation must provide this function.

struct git_refdb_backend
int function(.git_refdb_backend* backend, const(char)* refname) has_log;

Return Value

0 on success, 1 if the reflog for the given reference exists, a negative error code otherwise

Meta