Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rehabilitate some t5302 tests on 32-bit off_t machines
[gitweb.git]
/
builtin-blame.c
diff --git
a/builtin-blame.c
b/builtin-blame.c
index 55a3c0bc5e3aa9c893468f5f97eab17681ddc673..ba80bf8942f1db42b8a132471ddbfc38e565f115 100644
(file)
--- a/
builtin-blame.c
+++ b/
builtin-blame.c
@@
-2295,6
+2295,7
@@
int cmd_blame(int argc, const char **argv, const char *prefix)
else if (i != argc - 1)
usage(blame_usage); /* garbage at end */
+ setup_work_tree();
if (!has_path_in_work_tree(path))
die("cannot stat path %s: %s",
path, strerror(errno));