Merge pull request #2 from lht/port-to-libgit2

Port to libgit2
This commit is contained in:
Scott Chacon
2011-08-30 08:29:58 -07:00
2 changed files with 3 additions and 12 deletions

View File

@@ -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

View File

@@ -1,16 +1,7 @@
#include "erl_nif.h"
#include <stdio.h>
#include <string.h>
#include <git2/commit.h>
#include <git2/tag.h>
#include <git2/common.h>
#include <git2/errors.h>
#include <git2/index.h>
#include <git2/odb.h>
#include <git2/oid.h>
#include <git2/revwalk.h>
#include <git2/repository.h>
#include <git2/zlib.h>
#include <git2.h>
#define MAXBUFLEN 1024