Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
wt-status.h: drop stdio.h include
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 02ec56417a197b7e252625561fa462a215499a4d..1409cedce2fb08dc24b57db9e3a3591c3760d8af 100644
(file)
--- 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);