diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2009-02-25 03:32:19 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-27 15:19:08 -0800 |
commit | 88733235615b24198599b533f9d02578ef739536 (patch) | |
tree | d7917b0dc308fee526640a983caf56b20b2b1eb0 /builtin-fast-export.c | |
parent | string-list: new for_each_string_list() function (diff) | |
download | tgif-88733235615b24198599b533f9d02578ef739536.tar.xz |
builtin-remote: refactor duplicated cleanup code
This patch moves identical lines of code into a cleanup function. The
function has two callers and is about to gain a third.
Also removed a bogus NEEDSWORK comment per Daniel Barkalow:
Actually, the comment is wrong; "remote" comes from remote_get(),
which returns things from a cache in remote.c; there could be a
remote_put() to let the code know that the caller is done with the
object, but it wouldn't presently do anything.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fast-export.c')
0 files changed, 0 insertions, 0 deletions