Browse Source

Ignore any unmerged entries for "checkout-cache -a".

They don't "exist" yet, and you need to merge them first.
maint
Linus Torvalds 20 years ago
parent
commit
d9f98eebcd
  1. 2
      checkout-cache.c

2
checkout-cache.c

@ -141,6 +141,8 @@ static int checkout_all(void) @@ -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;
}

Loading…
Cancel
Save