diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 18:39:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 18:39:14 -0700 |
commit | d9f98eebcd31e123e859a4b8c6506bf3f3c4bad6 (patch) | |
tree | 594cd3385658b717a95af8827228d51a37d6b813 /checkout-cache.c | |
parent | 5e5128ed1cf4223fd32a36f858263d361ade5310 (diff) | |
download | git-d9f98eebcd31e123e859a4b8c6506bf3f3c4bad6.tar.gz |
Ignore any unmerged entries for "checkout-cache -a".
They don't "exist" yet, and you need to merge them first.
Diffstat (limited to 'checkout-cache.c')
-rw-r--r-- | checkout-cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checkout-cache.c b/checkout-cache.c index 1c257666e6..5cd473ca1c 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; } |