From 4aede132b927d8af9f05787d46fe67c8a5a67bab Mon Sep 17 00:00:00 2001 From: Haitao Li Date: Tue, 30 Aug 2011 23:22:29 +0800 Subject: [PATCH 1/2] readme: Use official libgit2 link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7403223..9344978 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ to Erlang. INSTALLING AND RUNNING ======================== -First you need to install libgit2 (gsoc edition): +First you need to install libgit2: - $ git clone git://github.com/tanoku/libgit2-gsoc2010.git + $ git clone git://github.com/libgit2/libgit2.git $ cd libgit2 $ make $ make install From 06a25612b9383e61acecda6b63b7045328702f74 Mon Sep 17 00:00:00 2001 From: Haitao Li Date: Tue, 30 Aug 2011 23:26:06 +0800 Subject: [PATCH 2/2] Include git2.h is enough --- c_src/geef.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/c_src/geef.c b/c_src/geef.c index 049cf74..d2c1629 100644 --- a/c_src/geef.c +++ b/c_src/geef.c @@ -1,16 +1,7 @@ #include "erl_nif.h" #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #define MAXBUFLEN 1024