Code

Merge branch 'cf/maint-remote-uploadpack-useconfig-fix'
[git.git] / builtin-apply.c
index 89a5185cea0449fd4f5110bd6efbf5aebbf68b39..4cf819c7905d5997a6ce2a89b4ecce1176a4b045 100644 (file)
@@ -2614,7 +2614,7 @@ static int get_current_sha1(const char *path, unsigned char *sha1)
 static void build_fake_ancestor(struct patch *list, const char *filename)
 {
        struct patch *patch;
-       struct index_state result = { 0 };
+       struct index_state result = { NULL };
        int fd;
 
        /* Once we start supporting the reverse patch, it may be