From 3cd3dcb5bb3b0481812ddd3ff8dc182bdb20be23 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 10 Oct 2016 02:13:47 +0200 Subject: git-receiver: added support to get mirror url from config file this commit also includes some "integration test" in shell script --- src/blogc-git-receiver/post-receive.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/blogc-git-receiver/post-receive.h') diff --git a/src/blogc-git-receiver/post-receive.h b/src/blogc-git-receiver/post-receive.h index a28dd5a..e17c3d4 100644 --- a/src/blogc-git-receiver/post-receive.h +++ b/src/blogc-git-receiver/post-receive.h @@ -9,6 +9,10 @@ #ifndef _POST_RECEIVE_H #define _POST_RECEIVE_H +#include "../common/config-parser.h" + +char* bgr_post_receive_get_config_section(bc_config_t *config, + const char *repo_path, const char *home); int bgr_post_receive_hook(int argc, char *argv[]); #endif /* _POST_RECEIVE_H */ -- cgit v1.2.3-18-g5258