diff options
Diffstat (limited to 'server-info.c')
-rw-r--r-- | server-info.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/server-info.c b/server-info.c index 7701d7c..e2fe0f9 100644 --- a/server-info.c +++ b/server-info.c @@ -1,12 +1,17 @@ -#include "cache.h" +#include "git-compat-util.h" #include "dir.h" +#include "environment.h" +#include "hex.h" #include "repository.h" #include "refs.h" #include "object.h" #include "commit.h" #include "tag.h" #include "packfile.h" -#include "object-store.h" +#include "path.h" +#include "object-file.h" +#include "object-store-ll.h" +#include "server-info.h" #include "strbuf.h" struct update_info_ctx { @@ -147,7 +152,8 @@ out: } static int add_info_ref(const char *path, const struct object_id *oid, - int flag, void *cb_data) + int flag UNUSED, + void *cb_data) { struct update_info_ctx *uic = cb_data; struct object *o = parse_object(the_repository, oid); |