Re: [PATCH v3 09/14] filter_refs(): build refs list as we go
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 10, 2012, 21:18 UTC
- Message-ID
- <7v392pmv9f.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1347171589-13327-10-git-send-email-mhagger@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 5 quoted lines
> Instead of temporarily storing matched refs to temporary array > "return_refs", simply append them to newlist as we go. This changes > the order of references in newlist to strictly sorted if "--all" and > "--depth" and named references are all specified, but that usage is > broken anyway (see the last two tests in t5500).
Removes two warts (the temporary array in general, and the fastarray[] special case) with one patch. Nicely done.