Re: [PATCH 04/10] t1405: sort reflog entries in a hash-independent way

2018-03-26 Thread brian m. carlson
On Mon, Mar 26, 2018 at 03:18:20PM -0700, Junio C Hamano wrote: > "brian m. carlson" writes: > > > The test enumerates reflog entries in an arbitrary order and then sorts > > them. For SHA-1, this produces results that happen to sort in > > alphabetical order, but

Re: [PATCH 04/10] t1405: sort reflog entries in a hash-independent way

2018-03-26 Thread Junio C Hamano
"brian m. carlson" writes: > The test enumerates reflog entries in an arbitrary order and then sorts > them. For SHA-1, this produces results that happen to sort in > alphabetical order, but for other hash algorithms they sort differently. > Ensure we sort the

[PATCH 04/10] t1405: sort reflog entries in a hash-independent way

2018-03-25 Thread brian m. carlson
The test enumerates reflog entries in an arbitrary order and then sorts them. For SHA-1, this produces results that happen to sort in alphabetical order, but for other hash algorithms they sort differently. Ensure we sort the reflog entries in a hash-independent way by sorting on the ref name