Re: [PATCH 12/33] peel_object(): give more specific information in return value
From: Junio C Hamano <hidden> Date: 2016-06-15 22:56:50
Michael Haggerty [off-list ref] writes:
Instead of just returning a success/failure bit, return an enumeration
value that explains the reason for any failure. This will come in
handy shortly.
Signed-off-by: Michael Haggerty <redacted>
---
This is a valid rewrite because all existing callers check if the
return value is 0 and does not check the error code against -1.
Looking good so far.