diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-10-31 03:25:38 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-31 13:46:55 -0700 |
commit | 54d07f2e25eb90f00def6d6406714d787ab0beb9 (patch) | |
tree | 070d9d98339ca352c06e7bd3a5d71b00f1b73a58 /builtin/branch.c | |
parent | 19ecb564ad15d6eb0544d11d808ca8dc9a198bdf (diff) | |
download | git-54d07f2e25eb90f00def6d6406714d787ab0beb9.tar.gz git-54d07f2e25eb90f00def6d6406714d787ab0beb9.tar.xz |
branch: trivial style fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/branch.c')
-rw-r--r-- | builtin/branch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/branch.c b/builtin/branch.c index ad0f86de5..5696cf0ef 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); |