summaryrefslogtreecommitdiff
path: root/notes-utils.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-05-23 01:34:55 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-27 15:57:47 -0700
commit33ffc176d65e1e98e1eea262dc7827830c33c56d (patch)
tree421595cebc4459822a0da433d6c82741aec527f6 /notes-utils.c
parentverify_lock(): on errors, let the caller unlock the lock (diff)
downloadtgif-33ffc176d65e1e98e1eea262dc7827830c33c56d.tar.xz
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 'notes-utils.c')
0 files changed, 0 insertions, 0 deletions