X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=checkout-cache.c;h=5cd473ca1ca8cf5ced71be70e6ed76a484575b08;hb=839a7a06f35bf8cd563a41d6db97f453ab108129;hp=1c257666e641868ff8a12a4e96a03a1d787c84a6;hpb=a38800fde24a44b12a9ed14852339466de1cb9c9;p=git.git diff --git a/checkout-cache.c b/checkout-cache.c index 1c257666..5cd473ca 100644 --- a/checkout-cache.c +++ b/checkout-cache.c @@ -141,6 +141,8 @@ static int checkout_all(void) for (i = 0; i < active_nr ; i++) { struct cache_entry *ce = active_cache[i]; + if (ce_stage(ce)) + continue; if (checkout_entry(ce) < 0) return -1; }