Code

refs.c: Remove unused get_ref_sha1()
[git.git] / builtin-apply.c
index 8411b38c7963852bffeb6dea1494399e8c9daa02..8edcc08b61e6ab41098154afe1f6741f987978d7 100644 (file)
@@ -1993,7 +1993,7 @@ static int verify_index_match(struct cache_entry *ce, struct stat *st)
                        return -1;
                return 0;
        }
-       return ce_match_stat(ce, st, 1);
+       return ce_match_stat(ce, st, CE_MATCH_IGNORE_VALID);
 }
 
 static int check_patch(struct patch *patch, struct patch *prev_patch)