Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
describe: setup working tree for --dirty
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index cf1ae77d7c705cdfb34bdb5403bad8db4148eccf..d281dff2b346dc7a0f2f3a69247cf683a859fb6c 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-617,6
+617,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_preload(NULL);
refresh_index(&the_index, REFRESH_QUIET|REFRESH_UNMERGED,
NULL, NULL, NULL);