libgit2

git_reflog_write

Version:

Write an existing in-memory reflog object back to disk using an atomic file lock.

Signature

int git_reflog_write(git_reflog *reflog);

Parameters

In
reflog

an existing reflog object

Returns

int

0 or an error code

Versions