diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-05-23 01:34:53 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-27 12:39:41 -0700 |
commit | a5e2499e5421c88ec2403087597613d60b8f3077 (patch) | |
tree | 03065e5466e0d5c4141fcf88f97c41e3496b7a9a /refs.h | |
parent | Sync with 2.4.2 (diff) | |
download | tgif-a5e2499e5421c88ec2403087597613d60b8f3077.tar.xz |
verify_lock(): return 0/-1 rather than struct ref_lock *
Its return value wasn't conveying any extra information, but it made
the reader wonder whether the ref_lock that it returned might be
different than the one that was passed to it. So change the function
to the traditional "return 0 on success or a negative value on error".
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
0 files changed, 0 insertions, 0 deletions