summaryrefslogtreecommitdiff
path: root/bulk-checkin.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-20 19:41:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-20 19:41:32 (GMT)
commit5ade03446430f1190fdf1eca8b8fde5f63367110 (patch)
treeba0c1878e9d5c96cfcb9668a3756a80b73600789 /bulk-checkin.h
parent36f0f344e71b928d47871e39fcef1908cb47c47b (diff)
parent1076f1e454dae338cee8e48f3e69b58181e5e10a (diff)
downloadgit-5ade03446430f1190fdf1eca8b8fde5f63367110.zip
git-5ade03446430f1190fdf1eca8b8fde5f63367110.tar.gz
git-5ade03446430f1190fdf1eca8b8fde5f63367110.tar.bz2
Merge branch 'en/incl-forward-decl'
Code hygiene improvement for the header files. * en/incl-forward-decl: Remove forward declaration of an enum compat/precompose_utf8.h: use more common include guard style urlmatch.h: fix include guard Move definition of enum branch_track from cache.h to branch.h alloc: make allocate_alloc_state and clear_alloc_state more consistent Add missing includes and forward declarations
Diffstat (limited to 'bulk-checkin.h')
-rw-r--r--bulk-checkin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bulk-checkin.h b/bulk-checkin.h
index a855273..f438f93 100644
--- a/bulk-checkin.h
+++ b/bulk-checkin.h
@@ -4,6 +4,8 @@
#ifndef BULK_CHECKIN_H
#define BULK_CHECKIN_H
+#include "cache.h"
+
extern int index_bulk_checkin(struct object_id *oid,
int fd, size_t size, enum object_type type,
const char *path, unsigned flags);