summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-05-23 01:34:55 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-27 15:57:47 -0700
commit33ffc176d65e1e98e1eea262dc7827830c33c56d (patch)
tree421595cebc4459822a0da433d6c82741aec527f6 /commit.h
parentf41d6329704a8c3f7286f52c3589d381ac0bc79d (diff)
downloadgit-33ffc176d65e1e98e1eea262dc7827830c33c56d.tar.gz
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 <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions