summaryrefslogtreecommitdiff
path: root/src/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reset.c')
-rw-r--r--src/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reset.c b/src/reset.c
index f8a1a1dc8..db0bfb373 100644
--- a/src/reset.c
+++ b/src/reset.c
@@ -195,5 +195,5 @@ int git_reset_from_annotated(
git_reset_t reset_type,
const git_checkout_options *checkout_opts)
{
- return reset(repo, (git_object *) commit->commit, commit->ref_name, reset_type, checkout_opts);
+ return reset(repo, (git_object *) commit->commit, commit->description, reset_type, checkout_opts);
}