Re: [PATCH 11/11] refs: split and make get_*_ref_store() public API
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 15, 2017, 01:16 UTC
- Message-ID
- <xmqqo9y45k3d.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CACsJy8AfwGK_Y8vH-mF4NXWts_4_CPZamO0L_rWD-1WR3=36Yg@mail.gmail.com>
Duy Nguyen <pclouds@gmail.com> writes:
> Long term, I think that's what Mike wants. Though the filter_ref_store > might return an (opaque) iterator instead of a ref store and > for_each_refstore() becomes a thin wrapper around the iterator > interface.
Ah, yes, an iterator would be a lot more suitable abstraction there.
Thanks.