Re: [PATCH v12 06/41] refs.c: add an err argument to repack_without_refs

2014-06-03 Thread Ronnie Sahlberg
Thanks. I have done all the additions of save_errno you suggested. On Thu, May 29, 2014 at 11:17 AM, Jonathan Nieder jrnie...@gmail.com wrote: Hi, Ronnie Sahlberg wrote: Update repack_without_refs to take an err argument and update it if there is a failure. Pass the err variable from

[PATCH v12 06/41] refs.c: add an err argument to repack_without_refs

2014-05-29 Thread Ronnie Sahlberg
Update repack_without_refs to take an err argument and update it if there is a failure. Pass the err variable from ref_transaction_commit to this function so that callers can print a meaningful error message if _commit fails due to a problem in repack_without_refs. Add a new function

Re: [PATCH v12 06/41] refs.c: add an err argument to repack_without_refs

2014-05-29 Thread Jonathan Nieder
Hi, Ronnie Sahlberg wrote: Update repack_without_refs to take an err argument and update it if there is a failure. Pass the err variable from ref_transaction_commit to this function so that callers can print a meaningful error message if _commit fails due to a problem in repack_without_refs.