blame: remove obsolete comment
That "someday" in the comment happened two years later in b65982b (Optimize "diff-index --cached" using cache-tree - 2009-05-20) Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Aug 22, 2015 at 08:08 UTC
a62bc310bf033f38a23fb80f5ab2c9f6f05cd161
1 file changed
-5
builtin/blame.c
-5
@@ -2379,11 +2379,6 @@ static struct commit *fake_working_tree_commit(struct diff_options *opt,
2379
ce->ce_mode = create_ce_mode(mode);
2380
add_cache_entry(ce, ADD_CACHE_OK_TO_ADD|ADD_CACHE_OK_TO_REPLACE);
2381
2382
- /*
2383
- * We are not going to write this out, so this does not matter
2384
- * right now, but someday we might optimize diff-index --cached
2385
- * with cache-tree information.
2386
- */
2382
cache_tree_invalidate_path(&the_index, path);
2383
2384
return commit;