verify_refname_available(): report errors via a "struct strbuf *err"
commit1146f17e2ce6054b502a46bafc102312c60a8380
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 11 May 2015 15:25:14 +0000 (11 17:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 18:50:19 +0000 (11 11:50 -0700)
tree38fbe89c318f87de629b5bd72dac6873811c41af
parent5baf37d383ff80e913da1cc99a325a9baadc844c
verify_refname_available(): report errors via a "struct strbuf *err"

It shouldn't be spewing errors directly to stderr.

For now, change its callers to spew the errors to stderr.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
refs.c