Gets the number of log entries in reflog
.
Gets the #GgitReflogEntry at idx
in reflog,
or %NULL if not found.
the position to lookup.
Atomically increments the reference count of reflog
by one.
This function is MT-safe and may be called from any thread.
Renames the reflog for to new_name,
on error error
is set.
the new name of the reference.
Atomically decrements the reference count of reflog
by one.
If the reference count drops to 0, reflog
is freed.
Write the reflog to disk.
Represents a reflog.