From 1a764476d27ac1861d1433b02bc7fbff733d8942 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Sat, 17 Nov 2012 18:24:10 -0800 Subject: [PATCH] reflog: Fix documentation --- include/git2/reflog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/git2/reflog.h b/include/git2/reflog.h index d48a89725..20e0f3319 100644 --- a/include/git2/reflog.h +++ b/include/git2/reflog.h @@ -107,7 +107,8 @@ GIT_EXTERN(const git_reflog_entry *) git_reflog_entry_byindex(git_reflog *reflog * * @param rewrite_previous_entry 1 to rewrite the history; 0 otherwise. * - * @return 0 on success or an error code. + * @return 0 on success, GIT_ENOTFOUND if the entry doesn't exist + * or an error code. */ GIT_EXTERN(int) git_reflog_drop( git_reflog *reflog,