From: Michael Haggerty Date: Fri, 22 May 2015 23:34:55 +0000 (+0200) Subject: verify_lock(): report errors via a strbuf X-Git-Tag: v2.5.0-rc0~47^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/33ffc176d65e1e98e1eea262dc7827830c33c56d?ds=sidebyside;hp=33ffc176d65e1e98e1eea262dc7827830c33c56d verify_lock(): report errors via a strbuf 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 Signed-off-by: Junio C Hamano ---