X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=apply.c;h=849a8b4485e65c7eac315daca60b781965a1d22e;hb=ee5c78434a997116e048055e363330d6d346c8f4;hp=c3699668671706d35b84d78cfa6ccee675f684b4;hpb=d4c9982f8eb2044781d443c4d2cd1c3db0f98e58;p=git.git diff --git a/apply.c b/apply.c index c3699668..849a8b44 100644 --- a/apply.c +++ b/apply.c @@ -1402,7 +1402,8 @@ static int check_patch(struct patch *patch) costate.not_new = 0; costate.refresh_cache = 1; if (checkout_entry(active_cache[pos], - &costate) || + &costate, + NULL) || lstat(old_name, &st)) return -1; }