mirror of
https://github.com/xHyroM/gimi.git
synced 2024-11-21 23:41:06 +01:00
fix: allow custom branch name in gimi push
This commit is contained in:
parent
523ddd9eb8
commit
d43f879b36
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ int cli_command_push(int argc, char **argv) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *branch_name = get_current_branch_name();
|
char *branch_name = argc == 1 ? argv[0] : get_current_branch_name();
|
||||||
|
|
||||||
for (int i = 0; i < cfg->providers_size; i++) {
|
for (int i = 0; i < cfg->providers_size; i++) {
|
||||||
struct gimi_config_provider *provider = cfg->providers[i];
|
struct gimi_config_provider *provider = cfg->providers[i];
|
||||||
|
|
Loading…
Reference in a new issue