summaryrefslogtreecommitdiff
path: root/exec_cmd.h
diff options
context:
space:
mode:
authorLibravatar Jay Soffian <jaysoffian@gmail.com>2009-02-25 03:32:19 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-27 15:19:08 -0800
commit88733235615b24198599b533f9d02578ef739536 (patch)
treed7917b0dc308fee526640a983caf56b20b2b1eb0 /exec_cmd.h
parentstring-list: new for_each_string_list() function (diff)
downloadtgif-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 'exec_cmd.h')
0 files changed, 0 insertions, 0 deletions