summaryrefslogtreecommitdiff
path: root/test-dump-untracked-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-dump-untracked-cache.c')
-rw-r--r--test-dump-untracked-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-dump-untracked-cache.c b/test-dump-untracked-cache.c
index 710441ee05..25d855d98b 100644
--- a/test-dump-untracked-cache.c
+++ b/test-dump-untracked-cache.c
@@ -44,6 +44,7 @@ int main(int ac, char **av)
{
struct untracked_cache *uc;
struct strbuf base = STRBUF_INIT;
+ setup_git_directory();
if (read_cache() < 0)
die("unable to read index file");
uc = the_index.untracked;