summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-23 18:28:37 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-23 18:28:37 -0700
commitd6096f17d2d5d9ccb453aabf8edc6ee238b166fc (patch)
tree0699a406f367814d799817402044b89c44491d97 /cache.h
parenta7b3269c4b9acde052d75b6dc54c8f869b77eb44 (diff)
parent913e0e99b6a6e63af6a062622a1f94bd78fd8052 (diff)
downloadgit-d6096f17d2d5d9ccb453aabf8edc6ee238b166fc.tar.gz
Merge branch 'maint'
* maint: unpack_trees(): protect the handcrafted in-core index from read_cache() git-p4: Fix one-liner in p4_write_pipe function. Completion: add missing '=' for 'diff --diff-filter' Fix 'git help help'
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index a097a959bd..ab9f97efc6 100644
--- a/cache.h
+++ b/cache.h
@@ -223,7 +223,8 @@ struct index_state {
struct cache_tree *cache_tree;
time_t timestamp;
void *alloc;
- unsigned name_hash_initialized : 1;
+ unsigned name_hash_initialized : 1,
+ initialized : 1;
struct hash_table name_hash;
};