diff options
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/reflog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/git2/reflog.h b/include/git2/reflog.h index 9d04688e2..ae8bb8657 100644 --- a/include/git2/reflog.h +++ b/include/git2/reflog.h @@ -23,6 +23,10 @@ GIT_BEGIN_DECL /** * Read the reflog for the given reference * + * If there is no reflog file for the given + * reference yet, an empty reflog object will + * be returned. + * * The reflog must be freed manually by using * git_reflog_free(). * |