summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorSarath Lakshman <sarathlakshman@slynux.com>2011-04-03 17:18:56 +0530
committerSarath Lakshman <sarathlakshman@slynux.com>2011-04-03 17:18:56 +0530
commit47d8ec56e917adda2e336c29420f527fca733866 (patch)
tree04b44dfbcad8ee5de02bfa6704e9e7d3a703c08d /src/util.h
parent3e3e4631a0362ba2358c9a2227e3cf0aaec8cf53 (diff)
downloadlibgit2-47d8ec56e917adda2e336c29420f527fca733866.tar.gz
New external API method: `git_tree_create`
Creates a tree by scanning the index file. The method handles recursive creation of trees for subdirectories and adds them to the parent tree.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 653b34d02..f477b64fd 100644
--- a/src/util.h
+++ b/src/util.h
@@ -14,6 +14,7 @@
*/
#define git__malloc malloc
#define git__calloc calloc
+#define git__realloc realloc
#define git__strdup strdup
extern int git__fmt(char *, size_t, const char *, ...)