refs.c: add an err argument to delete_ref_loose
commitdbdcac7d5c5eea314ec4c318a5e88cff427e9f0e
authorRonnie Sahlberg <sahlberg@google.com>
Thu, 15 May 2014 15:25:23 +0000 (15 08:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Oct 2014 17:47:21 +0000 (15 10:47 -0700)
tree331de10ff6f3e42bd62911d0e8978a9a815a5109
parent9ccc0c089667e6dccc888590376f138521784e5e
refs.c: add an err argument to delete_ref_loose

Add an err argument to delete_ref_loose so that we can pass a descriptive
error string back to the caller. Pass the err argument from transaction
commit to this function so that transaction users will have a nice error
string if the transaction failed due to delete_ref_loose.

Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c