libgit2

git_reflog_entry_byindex

Version:

Lookup an entry by its index

Signature

const git_reflog_entry *git_reflog_entry_byindex(git_reflog *reflog, unsigned int idx);

Parameters

In
reflog

a previously loaded reflog

unsigned int
In
idx

the position to lookup

Returns

the entry; NULL if not found

Versions