diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-04-17 13:07:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-17 13:55:45 -0700 |
commit | 021ab6f00b66d0d3931310e77383239a606c96c2 (patch) | |
tree | 9363b34bc4337dabe1500f92384400c250a064a2 /cache-tree.c | |
parent | d761b2ac0e42416f7fb7752d6ac6cc02c26ea14f (diff) | |
download | git-021ab6f00b66d0d3931310e77383239a606c96c2.tar.gz git-021ab6f00b66d0d3931310e77383239a606c96c2.tar.xz |
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>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions