From: Jay Soffian Date: Wed, 25 Feb 2009 08:32:23 +0000 (-0500) Subject: builtin-remote: fix two inconsistencies in the output of "show " X-Git-Tag: v1.6.3-rc0~145^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3bd925636cd11400d1840b39d0d18b640f32bdd2?hp=3bd925636cd11400d1840b39d0d18b640f32bdd2 builtin-remote: fix two inconsistencies in the output of "show " Remote and stale branches are emitted in alphabetical order, but new and tracked branches are not. So sort the latter to be consistent with the former. This also lets us use more efficient string_list_has_string() instead of unsorted_string_list_has_string(). "show " prunes symrefs, but "show -n" does not. Fix the latter to match the former. Signed-off-by: Jay Soffian Signed-off-by: Junio C Hamano ---