git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5e5128e
)
Ignore any unmerged entries for "checkout-cache -a".
author
Linus Torvalds
<redacted>
Mon, 18 Apr 2005 01:39:14 +0000
(18:39 -0700)
committer
Linus Torvalds
<redacted>
Mon, 18 Apr 2005 01:39:14 +0000
(18:39 -0700)
They don't "exist" yet, and you need to merge them first.
checkout-cache.c
patch
|
blob
|
history
diff --git
a/checkout-cache.c
b/checkout-cache.c
index 1c257666e641868ff8a12a4e96a03a1d787c84a6..5cd473ca1ca8cf5ced71be70e6ed76a484575b08 100644
(file)
--- 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;
}
git clone https://git.99rst.org/PROJECT