From: Junio C Hamano Date: Thu, 25 Jun 2015 21:01:36 GMT Subject: Re: [PATCH v2 5/6] git-reflog: add create and exists functions Message-ID: In-Reply-To: <1435265110-6414-5-git-send-email-dturner@twopensource.com> David Turner writes: Because...??? > These are necessary because ref backends manage reflogs. "Because ref backends manage reflogs" may be a good explanation to implement something as part of ref API, but it does not explain why that something needs to be implemented in the first place. > In a moment, > we will use these functions to make git stash work with alternate > ref backends. > > Signed-off-by: David Turner > --- > builtin/reflog.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 78 insertions(+), 1 deletion(-) > > diff --git a/builtin/reflog.c b/builtin/reflog.c > index c2eb8ff..a64158d 100644 > --- a/builtin/reflog.c > +++ b/builtin/reflog.c > @@ -13,6 +13,10 @@ static const char reflog_expire_usage[] = > "git reflog expire [--expire=