summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-05-23 01:34:53 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-27 12:39:41 -0700
commita5e2499e5421c88ec2403087597613d60b8f3077 (patch)
tree03065e5466e0d5c4141fcf88f97c41e3496b7a9a /commit.h
parentfae46aa0ae5318bbb20f0ef871721bf49e292cea (diff)
downloadgit-a5e2499e5421c88ec2403087597613d60b8f3077.tar.gz
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 'commit.h')
0 files changed, 0 insertions, 0 deletions