fix: go through all providers when pushing

This commit is contained in:
Jozef Steinhübl 2024-07-22 22:44:09 +02:00
parent d72999fd9e
commit 60aeeac369
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -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);