From db9647bc5b51859d83f1e3ab299ccc03536e6cae Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 31 Jul 2022 17:29:50 -0300 Subject: pullreqd, git: Replace every current instance of `git_repository` with `git_repo` This is done in order to make it easier to get the name of the repo. --- pullreqd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pullreqd.c') diff --git a/pullreqd.c b/pullreqd.c index f34dad6..c7f3a01 100644 --- a/pullreqd.c +++ b/pullreqd.c @@ -160,7 +160,7 @@ int init_socket(config *cfg) { return fd; } -int main_loop(config *cfg, int listen_socket, git_repository **repos) { +int main_loop(config *cfg, int listen_socket, git_repo **repos) { int done = 0; struct stat st; @@ -177,7 +177,7 @@ int main_loop(config *cfg, int listen_socket, git_repository **repos) { return 0; } -void cleanup(config *cfg, int listen_socket, git_repository **repos) { +void cleanup(config *cfg, int listen_socket, git_repo **repos) { if (listen_socket > 0) { close(listen_socket); /* Is this a unix domain socket? */ @@ -197,7 +197,7 @@ void cleanup(config *cfg, int listen_socket, git_repository **repos) { int main(int argc, char **argv) { config *cfg = NULL; - git_repository **repos = NULL; + git_repo **repos = NULL; char *config_file = "test.conf"; int config_read = 0; int listen_socket = -1; -- cgit v1.2.3-13-gbd6f