Re: [PATCH v4 07/16] refs: add refs_head_ref()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2017, 21:52 UTC
- Message-ID
- <xmqqfucgvdk8.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170823123704.16518-8-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
... which does what?
Unlike refs_for_each_ref() and friends, this does not iterate.
It just uses the same function signature to make a single call
of fn on the "HEAD" ref.Did I capture what it does right?
Thanks.