verify_lock(): report errors via a strbuf
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 22 May 2015 23:34:55 +0000 (01:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2015 22:57:47 +0000 (15:57 -0700)
Instead of writing error messages directly to stderr, write them to
a "strbuf *err". The caller, lock_ref_sha1_basic(), uses this error
reporting convention with all the other callees, and reports its
error this way to its callers.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found