Skip to content

Commit

Permalink
Merge pull request #1 from Neopallium/9ff1
Browse files Browse the repository at this point in the history
make redis backend compile.
  • Loading branch information
vmg committed May 12, 2012
2 parents 60557a0 + 9ff1385 commit af2993b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redis/CMakeLists.txt
Expand Up @@ -15,5 +15,5 @@ ENDIF ()


# Compile and link libgit2 # Compile and link libgit2
INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDE_DIRS} ${LIBHIREDIS_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDE_DIRS} ${LIBHIREDIS_INCLUDE_DIRS})
ADD_LIBRARY(git2-redis sqlite.c) ADD_LIBRARY(git2-redis hiredis.c)
TARGET_LINK_LIBRARIES(git2-redis ${LIBGIT2_LIBRARIES} ${LIBHIREDIS_LIBRARIES}) TARGET_LINK_LIBRARIES(git2-redis ${LIBGIT2_LIBRARIES} ${LIBHIREDIS_LIBRARIES})
2 changes: 1 addition & 1 deletion redis/hiredis.c
Expand Up @@ -110,7 +110,7 @@ int hiredis_backend__read_prefix(git_oid *out_oid,
{ {
if (len >= GIT_OID_HEXSZ) { if (len >= GIT_OID_HEXSZ) {
/* Just match the full identifier */ /* Just match the full identifier */
int error = hiredis_backend__read(data_p, len_p, type_p, backend, short_oid); int error = hiredis_backend__read(data_p, len_p, type_p, _backend, short_oid);
if (error == GIT_SUCCESS) if (error == GIT_SUCCESS)
git_oid_cpy(out_oid, short_oid); git_oid_cpy(out_oid, short_oid);


Expand Down

0 comments on commit af2993b

Please sign in to comment.