Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2022-01-11 15:36:27 +0300
committerJunio C Hamano <gitster@pobox.com>2022-01-12 21:52:52 +0300
commit68d924e1de83b1e865acdca22b17a20fdec3add6 (patch)
treeaf343a45a54be6f1e5ad284fbed3f22be6db3c5d /branch.c
parent593a2a5d0639b4b4f91ff6e6ffb64e72020f8fd8 (diff)
branch: missing space fix at line 313
The message introduced by commit 593a2a5d06 (branch: protect branches checked out in all worktrees, 2021-12-01) is missing a space in the first line, add it. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.c')
-rw-r--r--branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/branch.c b/branch.c
index 2cfe496d24..c37d9fb56b 100644
--- a/branch.c
+++ b/branch.c
@@ -212,7 +212,7 @@ int validate_new_branchname(const char *name, struct strbuf *ref, int force)
worktrees = get_worktrees();
wt = find_shared_symref(worktrees, "HEAD", ref->buf);
if (wt && !wt->is_bare)
- die(_("cannot force update the branch '%s'"
+ die(_("cannot force update the branch '%s' "
"checked out at '%s'"),
ref->buf + strlen("refs/heads/"), wt->path);
free_worktrees(worktrees);