diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-21 14:39:01 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-21 14:39:01 +0300 |
commit | c17f086ecad796b4179aa1b0209f00d4f8ffdc0f (patch) | |
tree | 2b26a57bd1b47f159447f11df86702907377b047 /builtin | |
parent | bb75be6cb916297f271c846f2f9caa3daaaec718 (diff) | |
parent | 4d86503eed995fe27bfa284b55fc63328534d11b (diff) |
Merge branch 'js/builtin-rebase-perf-fix-err-fix'
The object name of the tree reported in a recently added error
message was wrong, which has been corrected.
* js/builtin-rebase-perf-fix-err-fix:
rebase: warn about the correct tree's OID
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/rebase.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c index 1a2758756a..5b3e5baec8 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -582,7 +582,8 @@ static int reset_head(struct object_id *oid, const char *action, } if (!reset_hard && !fill_tree_descriptor(&desc[nr++], &head_oid)) { - ret = error(_("failed to find tree of %s"), oid_to_hex(oid)); + ret = error(_("failed to find tree of %s"), + oid_to_hex(&head_oid)); goto leave_reset_head; } |