Merge branch 'dt/unpack-compare-entry-optim'
[gitweb.git] / builtin / blame.c
index d3fc82c852a7dfe26b7ca0556eb49fe2c2db37be..55bf5fae9d5d6ea6c4e058e50d9353e77e09b34b 100644 (file)
@@ -2409,11 +2409,6 @@ static struct commit *fake_working_tree_commit(struct diff_options *opt,
        ce->ce_mode = create_ce_mode(mode);
        add_cache_entry(ce, ADD_CACHE_OK_TO_ADD|ADD_CACHE_OK_TO_REPLACE);
 
-       /*
-        * We are not going to write this out, so this does not matter
-        * right now, but someday we might optimize diff-index --cached
-        * with cache-tree information.
-        */
        cache_tree_invalidate_path(&the_index, path);
 
        return commit;