Jeff King <peff@xxxxxxxx> writes: > I don't think there is any reason we can't sort the list of heads, and > then we can get rid of the duplicates with an O(n) traversal, like the > (largely untested) patch below. Yeah, I think the only case the order matters in fetch is the traditional "when multiple non-glob fetch refspecs are configured, only merge the first one" logic, but it kicks in a much higher layer and the order in this list should not have any effect on it. Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html