Skip to contentSkip to conversation

branch: missing space fix at line 313

PATCH New Bagas Sanjaya 1 participant 1 message Jan 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 branch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
branch.c +1 -1
index 829130bb11..5d20a2e848 100644
@@ -310,7 +310,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);

base-commit: 90d242d36e248acfae0033274b524bfa55a947fd

Signature · 1 line
An old man doll... just what I always wanted! - Clara