summaryrefslogtreecommitdiffstats
path: root/alias.c
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2009-02-25 09:32:23 +0100
committerJunio C Hamano <gitster@pobox.com>2009-02-28 00:19:09 +0100
commit3bd925636cd11400d1840b39d0d18b640f32bdd2 (patch)
treeeee7e3bc66561b3eae45e9441fdf7a51c9a8b48e /alias.c
parentbuiltin-remote: make get_remote_ref_states() always populate states.tracked (diff)
downloadgit-3bd925636cd11400d1840b39d0d18b640f32bdd2.tar.xz
git-3bd925636cd11400d1840b39d0d18b640f32bdd2.zip
builtin-remote: fix two inconsistencies in the output of "show <remote>"
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 <remote>" prunes symrefs, but "show <remote> -n" does not. Fix the latter to match the former. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions