diff --git a/builtin-blame.c b/builtin-blame.c
index 55a3c0bc5e3aa9c893468f5f97eab17681ddc673..ba80bf8942f1db42b8a132471ddbfc38e565f115 100644 (file)
--- a/builtin-blame.c
+++ b/builtin-blame.c
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));