Merge branch 'ak/protect-any-current-branch'
* ak/protect-any-current-branch: branch: missing space fix at line 313
This commit is contained in:
commit
2a72807f6d
2
branch.c
2
branch.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user