diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-05-23 01:34:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-27 15:57:47 -0700 |
commit | 33ffc176d65e1e98e1eea262dc7827830c33c56d (patch) | |
tree | 421595cebc4459822a0da433d6c82741aec527f6 /run-command.c | |
parent | verify_lock(): on errors, let the caller unlock the lock (diff) | |
download | tgif-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 'run-command.c')
0 files changed, 0 insertions, 0 deletions