Message ID | fb2b472d9ae66bcdcde6a8417486172a47c71258.1648584079.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5391e94813418dfb5ccc4c2f1d8518995b4f3ca5 |
Headers | show |
Series | branch --recurse-submodules: Bug fixes and clean ups | expand |
diff --git a/branch.c b/branch.c index 4a8796489c7..eb231b950bb 100644 --- a/branch.c +++ b/branch.c @@ -263,7 +263,7 @@ static void setup_tracking(const char *new_ref, const char *orig_ref, string_list_append(tracking.srcs, orig_ref); if (install_branch_config_multiple_remotes(config_flags, new_ref, tracking.remote, tracking.srcs) < 0) - exit(-1); + exit(1); cleanup: string_list_clear(&tracking_srcs, 0);