diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-01-06 16:33:52 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-06 16:33:52 +0900 |
| commit | 8fb86e1a424d7c847cdb5021d9ea4c1e8d537bc1 (patch) | |
| tree | 040ca1530963f743167021fd0991e5a3467e3b1e | |
| parent | 68cb7f9e92a5d8e9824f5b52ac3d0a9d8f653dbe (diff) | |
| parent | 93f894c0012188a5d2b484ccf88a02692355d480 (diff) | |
| download | git-8fb86e1a424d7c847cdb5021d9ea4c1e8d537bc1.tar.xz | |
Merge branch 'bc/checkout-error-message-fix'
Message fix.
* bc/checkout-error-message-fix:
checkout: quote invalid treeish in error message
| -rw-r--r-- | builtin/checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 66b69df6e6..261699e2f5 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -1899,7 +1899,7 @@ static int checkout_main(int argc, const char **argv, const char *prefix, struct object_id 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, opts, &rev, |
