builtin-remote: make get_remote_ref_states() always populate states.tracked
authorJay Soffian <jaysoffian@gmail.com>
Wed, 25 Feb 2009 08:32:22 +0000 (03:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2009 23:19:09 +0000 (15:19 -0800)
commitcca7c97e37719eaee1d31cdaf1e638d19ecd69e4
tree899c91193958cc05556397e2869e07b869d289de
parente0cc81e63c7bb603545c90e47d4c6398f6347dfb
builtin-remote: make get_remote_ref_states() always populate states.tracked

When not querying the remote, show() was having to populate
states.tracked itself. It makes more sense for get_remote_ref_states()
to do this consistently. Since show() is the only caller of
get_remote_ref_states() with query=0, this change does not affect
other callers.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c