Re: [PATCH v20 07/48] lockfile.c: make lock_file return a meaningful errno on failurei
On 06/20/2014 04:42 PM, Ronnie Sahlberg wrote:
Show 11 quoted lines
> Making errno when returning from lock_file() meaningful, which should
> fix
>
> * an existing almost-bug in lock_ref_sha1_basic where it assumes
> errno==ENOENT is meaningful and could waste some work on retries
>
> * an existing bug in repack_without_refs where it prints
> strerror(errno) and picks advice based on errno, despite errno
> potentially being zero and potentially having been clobbered by
> that point
> [...]
Typo in subject line:
s/failurei/failure/
Michael
--
Michael Haggerty
mhagger@alum.mit.edu