fetch: trivial cleanup
commita8363b57193ea3e881367ff06035d4a2fe021d59
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 4 Jun 2019 02:13:28 +0000 (3 21:13 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Jun 2019 18:28:58 +0000 (4 11:28 -0700)
tree69dbc0dda446a768fd8ed7c935a09048a58e3c5c
parent8144f09ccde4df49cdb807a7ce9e6cb14a09bd2e
fetch: trivial cleanup

Create a helper function to clear an item. The way items are cleared has
changed, and will change again soon.

No functional changes.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c