fetch-pack: use a common function for verbose printing
commit0d789a5bc1aeef2d6d0d3120efc4b85766a0a327
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 12 Jun 2016 10:53:54 +0000 (12 17:53 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2016 21:38:16 +0000 (13 14:38 -0700)
treefe74f1d0588dcf77a5efde1c115708ce8b31620b
parent45a3e52641fd58c2ebaba2fd2a03308fd6ab8a0a
fetch-pack: use a common function for verbose printing

This reduces the number of "if (verbose)" which makes it a bit easier
to read imo. It also makes it easier to redirect all these printouts,
to a file for example.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c