Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tb/blame-force-read-cache-to-workaround-safe-crlf'
[gitweb.git]
/
builtin
/
blame.c
diff --git
a/builtin/blame.c
b/builtin/blame.c
index e982fb81379f57152e34eeda706a57fa1ea4c143..21f42b0b62b81b637f1cc9589cd6c0306a93d05e 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-2307,6
+2307,7
@@
static struct commit *fake_working_tree_commit(struct diff_options *opt,
unsigned mode;
struct strbuf msg = STRBUF_INIT;
+ read_cache();
time(&now);
commit = alloc_commit_node();
commit->object.parsed = 1;