From: Felipe Contreras Date: Thu, 31 Oct 2013 09:25:38 +0000 (-0600) Subject: branch: trivial style fix X-Git-Tag: v1.8.5-rc1~1^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54d07f2e25eb90f00def6d6406714d787ab0beb9;p=git branch: trivial style fix Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/builtin/branch.c b/builtin/branch.c index ad0f86de54..5696cf0ef7 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -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);