Re: [PATCH v11 14/41] refs.c: update ref_transaction_delete to check for error and return status

2014-05-28 Thread Jonathan Nieder
Ronnie Sahlberg wrote: Signed-off-by: Ronnie Sahlberg sahlb...@google.com --- builtin/update-ref.c | 5 +++-- refs.c | 16 +++- refs.h | 12 3 files changed, 22 insertions(+), 11 deletions(-) Reviewed-by: Jonathan Nieder

[PATCH v11 14/41] refs.c: update ref_transaction_delete to check for error and return status

2014-05-27 Thread Ronnie Sahlberg
Change ref_transaction_delete() to do basic error checking and return non-zero of error. Update all callers to check the return for ref_transaction_delete(). There are currently no conditions in _delete that will return error but there will be in the future. Add an err argument that will be