X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=apply.c;h=244718ca13aa58567974ea3b72d58c0365cc3c21;hb=4d569a2c422a9655390e7d33cad0bab88379f13d;hp=1083d4f31677357fe86c5ab85960df44a28ce721;hpb=664368886781b7c070233c002597b84628eec571;p=git.git diff --git a/apply.c b/apply.c index 1083d4f3..244718ca 100644 --- a/apply.c +++ b/apply.c @@ -1317,7 +1317,7 @@ static int check_patch(struct patch *patch) return -1; } - changed = ce_match_stat(active_cache[pos], &st); + changed = ce_match_stat(active_cache[pos], &st, 1); if (changed) return error("%s: does not match index", old_name);