X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-apply.c;h=8edcc08b61e6ab41098154afe1f6741f987978d7;hb=549799b4a1741fe765fff2c91808b4524ea2d7fb;hp=8411b38c7963852bffeb6dea1494399e8c9daa02;hpb=53d149c54bdedd4cf490943a5478a7826c2379c9;p=git.git diff --git a/builtin-apply.c b/builtin-apply.c index 8411b38c7..8edcc08b6 100644 --- a/builtin-apply.c +++ b/builtin-apply.c @@ -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)