Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add tests for git push'es mirror mode
[gitweb.git]
/
builtin-blame.c
diff --git
a/builtin-blame.c
b/builtin-blame.c
index aedc294eac276af8d1a3e8c39bf93fa8fda93f94..55a3c0bc5e3aa9c893468f5f97eab17681ddc673 100644
(file)
--- a/
builtin-blame.c
+++ b/
builtin-blame.c
@@
-2342,6
+2342,7
@@
int cmd_blame(int argc, const char **argv, const char *prefix)
* do not default to HEAD, but use the working tree
* or "--contents".
*/
+ setup_work_tree();
sb.final = fake_working_tree_commit(path, contents_from);
add_pending_object(&revs, &(sb.final->object), ":");
}