Permalink
Browse files

Merge pull request #1 from Neopallium/9ff1

make redis backend compile.
  • Loading branch information...
2 parents 60557a0 + 9ff1385 commit af2993b790b5df845eba333267c3844de2c19ffd @vmg vmg committed May 12, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 redis/CMakeLists.txt
  2. +1 −1 redis/hiredis.c
View
@@ -15,5 +15,5 @@ ENDIF ()
# Compile and link libgit2
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})
View
@@ -110,7 +110,7 @@ int hiredis_backend__read_prefix(git_oid *out_oid,
{
if (len >= GIT_OID_HEXSZ) {
/* 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)
git_oid_cpy(out_oid, short_oid);

0 comments on commit af2993b

Please sign in to comment.