Re: [PATCH v8 1/7] refs.c: add err arguments to reflog functions

2015-07-21 Thread Michael Haggerty
On 07/09/2015 03:50 PM, David Turner wrote: > Add an err argument to log_ref_setup that can explain the reason > for a failure. This then eliminates the need to manage errno through > this function since we can just add strerror(errno) to the err string > when meaningful. No callers relied on errno

[PATCH v8 1/7] refs.c: add err arguments to reflog functions

2015-07-09 Thread David Turner
Add an err argument to log_ref_setup that can explain the reason for a failure. This then eliminates the need to manage errno through this function since we can just add strerror(errno) to the err string when meaningful. No callers relied on errno from this function for anything else than the error