diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-31 17:29:50 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-31 17:34:07 -0300 |
commit | db9647bc5b51859d83f1e3ab299ccc03536e6cae (patch) | |
tree | 1665a3d38f99239c7217bf7c4d91f2d8e32427e5 /pullreqd.c | |
parent | 7e27a353e5731584d3697d34668508960c28bc1b (diff) |
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.
Diffstat (limited to 'pullreqd.c')
-rw-r--r-- | pullreqd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |