Skip to content

Commit 3f72f8c

Browse files
committed
Update refdb to new API
1 parent 4d8f722 commit 3f72f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis/hiredis.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ int hiredis_refdb_backend__iterator(git_reference_iterator **_iter, struct git_r
364364
}
365365

366366
int hiredis_refdb_backend__write(git_refdb_backend *_backend, const git_reference *ref, int force, const git_signature *who,
367-
const char *message) // FIXME when rugged gets updated to the latest libgit2 update this to the latest backend API
367+
const char *message, const git_oid *old, const char *old_target)
368368
{
369369
hiredis_refdb_backend *backend;
370370
int error = GIT_OK;
@@ -425,7 +425,7 @@ int hiredis_refdb_backend__rename(git_reference **out, git_refdb_backend *_backe
425425
return hiredis_refdb_backend__lookup(out, _backend, new_name);
426426
}
427427

428-
int hiredis_refdb_backend__del(git_refdb_backend *_backend, const char *ref_name) // FIXME when rugged gets updated to the latest libgit2 update this to the latest backend API
428+
int hiredis_refdb_backend__del(git_refdb_backend *_backend, const char *ref_name, const git_oid *old, const char *old_target)
429429
{
430430
hiredis_refdb_backend *backend;
431431
int error = GIT_OK;

0 commit comments

Comments
 (0)