зеркало из https://github.com/microsoft/git.git
branch: trivial style fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
19ecb564ad
Коммит
54d07f2e25
|
@ -975,9 +975,8 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
|
|||
die(_("no such branch '%s'"), argv[0]);
|
||||
}
|
||||
|
||||
if (!branch_has_merge_config(branch)) {
|
||||
if (!branch_has_merge_config(branch))
|
||||
die(_("Branch '%s' has no upstream information"), branch->name);
|
||||
}
|
||||
|
||||
strbuf_addf(&buf, "branch.%s.remote", branch->name);
|
||||
git_config_set_multivar(buf.buf, NULL, NULL, 1);
|
||||
|
|
Загрузка…
Ссылка в новой задаче