From: Jeff King Date: Mon, 21 May 2012 22:17:02 +0000 (-0400) Subject: fetch-pack: sort incoming heads X-Git-Tag: v1.7.11-rc1~16^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/443596850f464c768624e6b6477acadc2aa35e8f?ds=inline;hp=443596850f464c768624e6b6477acadc2aa35e8f fetch-pack: sort incoming heads There's no reason to preserve the incoming order of the heads we're requested to fetch. By having them sorted, we can replace some of the quadratic algorithms with linear ones. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---