Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
blame: remove obsolete comment
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 22 Aug 2015 01:08:04 +0000
(08:08 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 25 Aug 2015 16:41:44 +0000
(09:41 -0700)
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>
builtin/blame.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
3d4a3ff
)
diff --git
a/builtin/blame.c
b/builtin/blame.c
index 06484c2e0e23237bff711bbe3cda6e1382004ef3..9a0df9215458604db4cb5ab500cb6e0f07d7664f 100644
(file)
--- 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;