author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 17 Apr 2010 20:07:36 +0000 (13:07 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 17 Apr 2010 20:55:45 +0000 (13:55 -0700) | ||
commit | 021ab6f00b66d0d3931310e77383239a606c96c2 | |
tree | 9363b34bc4337dabe1500f92384400c250a064a2 | tree | snapshot |
parent | d761b2ac0e42416f7fb7752d6ac6cc02c26ea14f | commit | diff |
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>
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 | diff | blob | history |