Skip to content

Commit 8fb86e1

Browse files
committed
Merge branch 'bc/checkout-error-message-fix'
Message fix. * bc/checkout-error-message-fix: checkout: quote invalid treeish in error message
2 parents 68cb7f9 + 93f894c commit 8fb86e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin/checkout.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ static int checkout_main(int argc, const char **argv, const char *prefix,
18991899
struct object_id rev;
19001900

19011901
if (repo_get_oid_mb(the_repository, opts->from_treeish, &rev))
1902-
die(_("could not resolve %s"), opts->from_treeish);
1902+
die(_("could not resolve '%s'"), opts->from_treeish);
19031903

19041904
setup_new_branch_info_and_source_tree(&new_branch_info,
19051905
opts, &rev,

0 commit comments

Comments
 (0)