]> git.ipfire.org Git - thirdparty/git.git/commitdiff
branch: missing space fix at line 313
authorBagas Sanjaya <bagasdotme@gmail.com>
Tue, 11 Jan 2022 12:36:27 +0000 (19:36 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jan 2022 18:52:52 +0000 (10:52 -0800)
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>
branch.c

index 2cfe496d242794d9c979cc63707f65cd1906231c..c37d9fb56bcc8485725061c1b099e7fe5714f7a3 100644 (file)
--- 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);