diff options
author | Jeff King <peff@peff.net> | 2019-03-20 04:16:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-20 18:34:09 +0900 |
commit | 0f804b0bac39fb696ea74b8dd59549935ec9ca00 (patch) | |
tree | 394d187c972446e54d13da8f85873e9fbe9a3f81 /cache-tree.c | |
parent | report_path_error(): drop unused prefix parameter (diff) | |
download | tgif-0f804b0bac39fb696ea74b8dd59549935ec9ca00.tar.xz |
fetch_pack(): drop unused parameters
We don't need the caller of fetch_pack() to pass in "dest", which is the
remote URL. Since ba227857d2 (Reduce the number of connects when
fetching, 2008-02-04), the caller is responsible for calling
git_connect() itself, and our "dest" parameter is unused.
That commit also started passing us the resulting "conn" child_process
from git_connect(). But likewise, we do not need do anything with it.
The descriptors in "fd" are enough for us, and the caller is responsible
for cleaning up "conn".
We can just drop both parameters.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions