Skip to content

Commit 174e24a

Browse files
LorenzoPegorarigitster
authored andcommitted
repack-promisor: add missing headers
According to the coding guidelines, a C file must directly include the header files that declare the facilities it uses. Directly include these missing headers, in order to comply with the coding guidelines. Signed-off-by: LorenzoPegorari <lorenzo.pegorari2002@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e69bf3d commit 174e24a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

repack-promisor.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
#include "git-compat-util.h"
22
#include "repack.h"
3+
#include "hash.h"
34
#include "hex.h"
5+
#include "odb.h"
46
#include "pack.h"
57
#include "packfile.h"
68
#include "path.h"
79
#include "repository.h"
810
#include "run-command.h"
11+
#include "strbuf.h"
12+
#include "string-list.h"
13+
#include "strmap.h"
14+
#include "strvec.h"
915

1016
struct write_oid_context {
1117
struct child_process *cmd;

0 commit comments

Comments
 (0)