Re: [PATCH v3 09/14] filter_refs(): build refs list as we go

2012-09-10 Thread Junio C Hamano
Michael Haggerty writes: > 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 usag

[PATCH v3 09/14] filter_refs(): build refs list as we go

2012-09-08 Thread Michael Haggerty
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 tw