]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs.c: add an err argument to repack_without_refs
authorRonnie Sahlberg <sahlberg@google.com>
Fri, 20 Jun 2014 14:42:49 +0000 (07:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2014 18:54:41 +0000 (11:54 -0700)
commit60bca085c893f1866829b55bfee63888943cfe14
tree8da8f6f6eb32f72380035e6e14f369dd4d82c57d
parent447ff1bf0acf9a1d7d2dc3aed032c209f105fb8a
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>
builtin/remote.c
refs.c
refs.h