summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2015-08-22 01:08:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-25 16:41:44 (GMT)
commita62bc310bf033f38a23fb80f5ab2c9f6f05cd161 (patch)
tree775b3affeef5594a98b20ccec9fbec1a2a57f646
parent3d4a3ffe64162b45ae7c991fc60623ecb4678cfd (diff)
downloadgit-a62bc310bf033f38a23fb80f5ab2c9f6f05cd161.zip
git-a62bc310bf033f38a23fb80f5ab2c9f6f05cd161.tar.gz
git-a62bc310bf033f38a23fb80f5ab2c9f6f05cd161.tar.bz2
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>
-rw-r--r--builtin/blame.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index 06484c2..9a0df92 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -2379,11 +2379,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;