remote show: Clean up connection correctly if object fetch wasn't done
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 2 Mar 2008 05:31:59 +0000 (05:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Mar 2008 23:33:55 +0000 (15:33 -0800)
commit6217367859e92aa0bd67f02162d1f53e290e15e8
tree8d67588ffafcf2a2ca2c6ca78e54460938b98a43
parent4ebc914c880cf724222a6e5097a21a85ed8e5951
remote show: Clean up connection correctly if object fetch wasn't done

Like in ls-remote, we have to disconnect the transport after getting
the remote refs.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c