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>
Bagas Sanjaya committed
Jan 11, 2022 at 19:36 UTC
68d924e1de83b1e865acdca22b17a20fdec3add6
1 file changed
+1
-1
branch.c
+1
-1
@@ -212,7 +212,7 @@ int validate_new_branchname(const char *name, struct strbuf *ref, int force)
212
worktrees = get_worktrees();
213
wt = find_shared_symref(worktrees, "HEAD", ref->buf);
214
if (wt && !wt->is_bare)
215
- die(_("cannot force update the branch '%s'"
215
+ die(_("cannot force update the branch '%s' "
216
"checked out at '%s'"),
217
ref->buf + strlen("refs/heads/"), wt->path);
218
free_worktrees(worktrees);