Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: fix grepping for "intent to add" files
[gitweb.git]
/
cache-tree.c
diff --git
a/cache-tree.c
b/cache-tree.c
index 32772b95644d2f32841984b25b685379c6914ad4..e590346a08b4f71a1162ee5608c4c53467b9d0ea 100644
(file)
--- a/
cache-tree.c
+++ b/
cache-tree.c
@@
-377,7
+377,7
@@
static int update_one(struct cache_tree *it,
* they are not part of generated trees. Invalidate up
* to root to force cache-tree users to read elsewhere.
*/
- if (ce
->ce_flags & CE_INTENT_TO_ADD
) {
+ if (ce
_intent_to_add(ce)
) {
to_invalidate = 1;
continue;
}