On Tue, Oct 31, 2023 at 03:25:36PM +0900, Junio C Hamano wrote: > Hongyi Zhao <hongyi.zhao@xxxxxxxxx> writes: > > >> But I think that there is a slightly cleaner way to compute the result > >> you're after, like so: > >> ... > > So, your method and my original one give exactly the same result. > > Therefore, I can't see what their fundamental difference is. > > I think Taylor offered a "slightly cleaner way", and not a > "different way that computes better result". So it is not > surprising, at least to me who is watching from the sideline, that > you cannot see any fundamental difference. Indeed. Thanks, Taylor