From: Ronnie Sahlberg Date: Thu, 15 May 2014 15:25:23 +0000 (-0700) Subject: refs.c: add an err argument to delete_ref_loose X-Git-Tag: v2.2.0-rc0~32^2~20 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/dbdcac7d5c5eea314ec4c318a5e88cff427e9f0e?hp=dbdcac7d5c5eea314ec4c318a5e88cff427e9f0e 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 Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---