diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-10-16 01:07:10 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-16 05:05:52 +0300 |
commit | ac2ed0d7d51e5c0b402797ecf01f38e9bfc82e0e (patch) | |
tree | 7fcbdf85704b9d0d14fa41eae0154377282f8e5d /refs/ref-cache.c | |
parent | 49e61479be913f67e66bb3fdf8de9475c41b58bd (diff) |
refs: convert peel_object to struct object_id
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/ref-cache.c')
-rw-r--r-- | refs/ref-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/ref-cache.c b/refs/ref-cache.c index 4f850e1b5c..043eb83748 100644 --- a/refs/ref-cache.c +++ b/refs/ref-cache.c @@ -493,7 +493,7 @@ static int cache_ref_iterator_advance(struct ref_iterator *ref_iterator) static int cache_ref_iterator_peel(struct ref_iterator *ref_iterator, struct object_id *peeled) { - return peel_object(ref_iterator->oid->hash, peeled->hash); + return peel_object(ref_iterator->oid, peeled); } static int cache_ref_iterator_abort(struct ref_iterator *ref_iterator) |