remote rm: delete remote configuration as the last
commitb07bdd3472886cbdd412ee3e7489273522c43133
authorJens Lindström <jl@opera.com>
Fri, 23 May 2014 10:28:43 +0000 (23 12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 May 2014 18:56:15 +0000 (23 11:56 -0700)
tree4b32588dae82bbe263fa3901b3a731aee503711f
parent4a28f169ad29ba452e0e7bea2583914c10c58322
remote rm: delete remote configuration as the last

When removing a remote, delete the remote-tracking branches before
deleting the remote configuration.  This way, if the operation fails or
is aborted while deleting the remote-tracking branches, the command can
be rerun to complete the operation.

Signed-off-by: Jens Lindström <jl@opera.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c