diff options
Diffstat (limited to 'reset.c')
-rw-r--r-- | reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ static int update_refs(const struct reset_head_opts *opts, } if (!ret && run_hook) run_hooks_l(the_repository, "post-checkout", - oid_to_hex(head ? head : null_oid()), + oid_to_hex(head ? head : null_oid(the_hash_algo)), oid_to_hex(oid), "1", NULL); strbuf_release(&msg); return ret; |