]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch: use free_refs()
authorJeff King <peff@peff.net>
Sat, 13 Apr 2019 05:54:09 +0000 (01:54 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Apr 2019 05:00:51 +0000 (14:00 +0900)
commit259eddde6a861cbff8186f37170f09566730f8eb
tree3418f6c70c7e4c7af1bc01dfed8c943ae2c9621b
parent533ddba47e8cc36a6ec2864f482a8e540465eb64
fetch: use free_refs()

There's no need for us to write this loop manually when a helper
function can already do it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c