diff options
Diffstat (limited to 'tmp-objdir.c')
-rw-r--r-- | tmp-objdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tmp-objdir.c b/tmp-objdir.c index b2d9280f10..91c00567f4 100644 --- a/tmp-objdir.c +++ b/tmp-objdir.c @@ -6,6 +6,7 @@ #include "strbuf.h" #include "argv-array.h" #include "quote.h" +#include "object-store.h" struct tmp_objdir { struct strbuf path; @@ -126,7 +127,7 @@ struct tmp_objdir *tmp_objdir_create(void) struct tmp_objdir *t; if (the_tmp_objdir) - die("BUG: only one tmp_objdir can be used at a time"); + BUG("only one tmp_objdir can be used at a time"); t = xmalloc(sizeof(*t)); strbuf_init(&t->path, 0); |