Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 05:39:14 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 05:39:14 +0400
commitd9f98eebcd31e123e859a4b8c6506bf3f3c4bad6 (patch)
tree594cd3385658b717a95af8827228d51a37d6b813 /checkout-cache.c
parent5e5128ed1cf4223fd32a36f858263d361ade5310 (diff)
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.c2
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;
}