refs: add methods for reflog
commite3688bd6cf159f6026a6bca7a6f53d0a22fe21a2
authorDavid Turner <dturner@twopensource.com>
Sun, 4 Sep 2016 16:08:38 +0000 (4 18:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 22:28:13 +0000 (9 15:28 -0700)
tree4f88da608bff3aa316d5c1dcfc016a1d2304de91
parent1a769003c19c106063f4bf474b0d7ef56be8df25
refs: add methods for reflog

In the file-based backend, the reflog piggybacks on the ref lock.
Since other backends won't have the same sort of ref lock, ref backends
must also handle reflogs.

Signed-off-by: Ronnie Sahlberg <rsahlberg@google.com>
Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs/files-backend.c
refs/refs-internal.h