Add geef_commit:tree_id

This commit is contained in:
Carlos Martín Nieto
2013-02-17 21:25:32 +01:00
parent d71c6ff702
commit 6d34f99520
6 changed files with 47 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
#include "reference.h"
#include "oid.h"
#include "object.h"
#include "commit.h"
#include "geef.h"
#include <stdio.h>
#include <string.h>
@@ -97,6 +98,7 @@ static ErlNifFunc geef_funcs[] =
{"oid_fmt", 1, geef_oid_fmt},
{"oid_parse", 1, geef_oid_parse},
{"object_lookup", 2, geef_object_lookup},
{"commit_tree_id", 1, geef_commit_tree_id},
};
ERL_NIF_INIT(geef, geef_funcs, load, NULL, NULL, unload)