{"thread":{"id":"57225","subject":"[PATCH] branch: missing space fix at line 313","startedAt":"2022-01-11T12:36:44Z","lastAt":"2022-01-11T12:36:44Z","messageCount":1,"participants":["Bagas Sanjaya"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"445918","messageId":"20220111123627.58625-1-bagasdotme@gmail.com","threadId":"57225","inReplyTo":null,"subject":"[PATCH] branch: missing space fix at line 313","fromName":"Bagas Sanjaya","fromEmail":"bagasdotme@gmail.com","sentAt":"2022-01-11T12:36:27Z","receivedAt":"2022-01-11T12:36:44Z","isPatch":true,"sender":{"key":"bagasdotme@gmail.com","avatar":"https://avatars.githubusercontent.com/u/40219486?v=4"},"body":"The message introduced by commit 593a2a5d06 (branch: protect branches\nchecked out in all worktrees, 2021-12-01) is missing a space in the\nfirst line, add it.\n\nSigned-off-by: Bagas Sanjaya <bagasdotme@gmail.com>\n---\n branch.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/branch.c b/branch.c\nindex 829130bb11..5d20a2e848 100644\n--- a/branch.c\n+++ b/branch.c\n@@ -310,7 +310,7 @@ int validate_new_branchname(const char *name, struct strbuf *ref, int force)\n \tworktrees = get_worktrees();\n \twt = find_shared_symref(worktrees, \"HEAD\", ref->buf);\n \tif (wt && !wt->is_bare)\n-\t\tdie(_(\"cannot force update the branch '%s'\"\n+\t\tdie(_(\"cannot force update the branch '%s' \"\n \t\t      \"checked out at '%s'\"),\n \t\t    ref->buf + strlen(\"refs/heads/\"), wt->path);\n \tfree_worktrees(worktrees);\n\nbase-commit: 90d242d36e248acfae0033274b524bfa55a947fd\n-- \nAn old man doll... just what I always wanted! - Clara\n\n"}]}