Code

http.c: Tiny refactoring of finish_http_pack_request
authorShawn O. Pearce <spearce@spearce.org>
Sat, 17 Apr 2010 20:07:36 +0000 (13:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Apr 2010 20:55:45 +0000 (13:55 -0700)
commit021ab6f00b66d0d3931310e77383239a606c96c2
tree9363b34bc4337dabe1500f92384400c250a064a2
parentd761b2ac0e42416f7fb7752d6ac6cc02c26ea14f
http.c: Tiny refactoring of finish_http_pack_request

Always remove the struct packed_git from the active list, even
if the rename of the temporary file fails.

While we are here, simplify the code a bit by using a common
local variable name ("p") to hold the relevant packed_git.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c