commit | 60bca085c893f1866829b55bfee63888943cfe14 | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <sahlberg@google.com> | Fri Jun 20 07:42:49 2014 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jul 14 11:54:41 2014 -0700 |
tree | 8da8f6f6eb32f72380035e6e14f369dd4d82c57d | |
parent | 447ff1bf0acf9a1d7d2dc3aed032c209f105fb8a [diff] |
refs.c: add an err argument to repack_without_refs 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 this function. Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Michael Haggerty <mhagger@alum.mit.edu>