Skip to content

Commit bee423c

Browse files
committed
tests: network: add missing include for git_repository_new
A newly added test uses the `git_repository_new` function without the corresponding header file being included. While this works due to the compiler deducing the correct function signature, we should obviously just include the function's declaration file.
1 parent a64532e commit bee423c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/network/remote/local.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "buffer.h"
33
#include "path.h"
44
#include "posix.h"
5+
#include "git2/sys/repository.h"
56

67
static git_repository *repo;
78
static git_buf file_path_buf = GIT_BUF_INIT;

0 commit comments

Comments
 (0)