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

2015-07-21 Thread Michael Haggerty
There's one last error formatting niggle below. On 07/21/2015 08:44 AM, 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 str

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

2015-07-21 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