diff options
Diffstat (limited to 'reset.c')
| -rw-r--r-- | reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ int reset_head(struct repository *r, const struct reset_head_opts *opts) goto leave_reset_head; } - tree = parse_tree_indirect(oid); + tree = repo_parse_tree_indirect(the_repository, oid); if (!tree) { ret = error(_("unable to read tree (%s)"), oid_to_hex(oid)); goto leave_reset_head; |
