Don't bother passing ref log details to walker in builtin-fetch
commitb6abb48a152879259ab59f6e470e62b59562d712
authorShawn O. Pearce <spearce@spearce.org>
Sat, 15 Sep 2007 07:23:04 +0000 (15 03:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Sep 2007 10:22:31 +0000 (19 03:22 -0700)
tree6778d624e883d0248b264d5cb8b7b4a3d557b09a
parent3278cd0a39c30c6c3082fc5feed0f9bd98b5f628
Don't bother passing ref log details to walker in builtin-fetch

When using the walker API within builtin-fetch we don't allow
it to update refs locally; instead that action is reserved for
builtin-fetch's own main loop once the objects have actually
been downloaded.

Passing NULL here will bypass the unnecessary malloc/free of a
string buffer within the walker API.  That buffer is never used
because the prior argument (the refs to update) is also NULL.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c