]> git.ipfire.org Git - thirdparty/git.git/blobdiff - unpack-trees.c
name-hash.c: remove cache entries instead of marking them CE_UNHASHED
[thirdparty/git.git] / unpack-trees.c
index 86f5f8837eecfbaca64674d454902d766689534b..36f3a7d06c73ecee27f4a5c0058b428023c086ad 100644 (file)
@@ -105,7 +105,7 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
 static void do_add_entry(struct unpack_trees_options *o, struct cache_entry *ce,
                         unsigned int set, unsigned int clear)
 {
-       clear |= CE_HASHED | CE_UNHASHED;
+       clear |= CE_HASHED;
 
        if (set & CE_REMOVE)
                set |= CE_WT_REMOVE;