]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.c
strmap: enable allocations to come from a mem_pool
[thirdparty/git.git] / commit.c
index bc741e78ad7dc09eab6c7f24d56377ec1397040e..f53429c0ac34d933a06f6051cd6b5e519408e4be 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -921,7 +921,7 @@ struct commit *get_fork_point(const char *refname, struct commit *commit)
        struct commit *ret = NULL;
        char *full_refname;
 
-       switch (dwim_ref(refname, strlen(refname), &oid, &full_refname)) {
+       switch (dwim_ref(refname, strlen(refname), &oid, &full_refname, 0)) {
        case 0:
                die("No such ref: '%s'", refname);
        case 1: