mirror of
https://github.com/git/git.git
synced 2026-01-11 13:23:12 +09:00
Merge branch 'bc/checkout-error-message-fix'
Message fix. * bc/checkout-error-message-fix: checkout: quote invalid treeish in error message
This commit is contained in:
commit
8fb86e1a42
@ -1899,7 +1899,7 @@ static int checkout_main(int argc, const char **argv, const char *prefix,
|
|||||||
struct object_id rev;
|
struct object_id rev;
|
||||||
|
|
||||||
if (repo_get_oid_mb(the_repository, opts->from_treeish, &rev))
|
if (repo_get_oid_mb(the_repository, opts->from_treeish, &rev))
|
||||||
die(_("could not resolve %s"), opts->from_treeish);
|
die(_("could not resolve '%s'"), opts->from_treeish);
|
||||||
|
|
||||||
setup_new_branch_info_and_source_tree(&new_branch_info,
|
setup_new_branch_info_and_source_tree(&new_branch_info,
|
||||||
opts, &rev,
|
opts, &rev,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user