show-ref: detect dangling refs under --verify as well
authorVladimir Panteleev <redacted>
Mon, 23 Jan 2017 18:00:58 +0000 (18:00 +0000)
committerJunio C Hamano <redacted>
Mon, 23 Jan 2017 20:06:29 +0000 (12:06 -0800)
commitd01b8203ec24732e5e8829db44a8150468f2fb7d
treea880b715baf5ab1ae3f6cdce781644a5b0a14bf2
parent14144d3b53b913b48970aa0947accfe34e745c0f
show-ref: detect dangling refs under --verify as well

Move detection of dangling refs into show_one(), so that they are
detected when --verify is present as well as when it is absent.

Signed-off-by: Vladimir Panteleev <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/show-ref.c
t/t1403-show-ref.sh
git clone https://git.99rst.org/PROJECT