Wrap git_revparse_single
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "revwalk.h"
|
||||
#include "index.h"
|
||||
#include "signature.h"
|
||||
#include "revparse.h"
|
||||
#include "geef.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -186,6 +187,7 @@ static ErlNifFunc geef_funcs[] =
|
||||
{"index_read_tree", 2, geef_index_read_tree},
|
||||
{"signature_new", 2, geef_signature_new},
|
||||
{"signature_new", 3, geef_signature_new},
|
||||
{"revparse_single", 2, geef_revparse_single},
|
||||
};
|
||||
|
||||
ERL_NIF_INIT(geef_nif, geef_funcs, load, NULL, upgrade, unload)
|
||||
|
||||
Reference in New Issue
Block a user