show-ref: move --quiet handling into show_one()
commit14144d3b53b913b48970aa0947accfe34e745c0f
authorVladimir Panteleev <git@thecybershadow.net>
Mon, 23 Jan 2017 18:00:57 +0000 (23 18:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jan 2017 20:06:29 +0000 (23 12:06 -0800)
tree49e7b4a017d25df8b61a7b510228c646e4883509
parentf1627040b9305dc38994f799c172393909b2c70c
show-ref: move --quiet handling into show_one()

Do the same with --quiet as was done with -d, to remove the need to
perform this check at show_one()'s call site from the --verify branch.

Signed-off-by: Vladimir Panteleev <git@thecybershadow.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/show-ref.c