summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/describe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/describe.c b/builtin/describe.c
index 02ec56417a..1409cedce2 100644
--- a/builtin/describe.c
+++ b/builtin/describe.c
@@ -630,6 +630,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
struct argv_array args = ARGV_ARRAY_INIT;
int fd, result;
+ setup_work_tree();
read_cache();
refresh_index(&the_index, REFRESH_QUIET|REFRESH_UNMERGED,
NULL, NULL, NULL);