Skip to content

Commit d1e9254

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. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: LorenzoPegorari <lorenzo.pegorari2002@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3f93c6c commit d1e9254

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

repack-promisor.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
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 "refs.h"
810
#include "repository.h"
911
#include "run-command.h"
12+
#include "strbuf.h"
13+
#include "string-list.h"
14+
#include "strmap.h"
15+
#include "strvec.h"
1016

1117
struct write_oid_context {
1218
struct child_process *cmd;

0 commit comments

Comments
 (0)