From 60aeeac369b374917c35f15c6384018d25d61138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Mon, 22 Jul 2024 22:44:09 +0200 Subject: [PATCH] fix: go through all providers when pushing --- src/cli/command/push.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/command/push.c b/src/cli/command/push.c index cf71d45..783ced2 100644 --- a/src/cli/command/push.c +++ b/src/cli/command/push.c @@ -62,7 +62,7 @@ int cli_command_push(int argc, char **argv) { char *branch_name = get_current_branch_name(); - for (int i = 0; i < 1; i++) { + for (int i = 0; i < cfg->providers_size; i++) { struct gimi_config_provider *provider = cfg->providers[i]; int ret = git_push(provider->name, branch_name, verbose);