Skip to content

Commit

Permalink
blame: remove obsolete comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Aug 25, 2015
1 parent 3d4a3ff commit a62bc31
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions builtin/blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a62bc31

Please sign in to comment.