]> git.ipfire.org Git - thirdparty/git.git/blobdiff - apply.c
Merge branch 'pb/pull-fetch-doc'
[thirdparty/git.git] / apply.c
diff --git a/apply.c b/apply.c
index bdc008fae2ad77197a859d64196bf91161cf8d67..144c19aaca80d943e237ffd84f215a49415e0d5a 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -4349,7 +4349,7 @@ static int try_create_file(struct apply_state *state, const char *path,
        if (fd < 0)
                return 1;
 
-       if (convert_to_working_tree(state->repo->index, path, buf, size, &nbuf)) {
+       if (convert_to_working_tree(state->repo->index, path, buf, size, &nbuf, NULL)) {
                size = nbuf.len;
                buf  = nbuf.buf;
        }