clone: drop dest parameter from copy_alternates()
[gitweb.git] / builtin / describe.c
index 02ec56417a197b7e252625561fa462a215499a4d..1409cedce2fb08dc24b57db9e3a3591c3760d8af 100644 (file)
@@ -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);