Re: [PATCH v20 37/48] refs.c: remove lock_ref_sha1

2014-07-08 Thread Michael Haggerty
On 06/20/2014 04:43 PM, Ronnie Sahlberg wrote: > lock_ref_sha1 was only called from one place in refc.c and only provided > a check that the refname was sane before adding back the initial "refs/" > part of the ref path name, the initial "refs/" that this caller had already > stripped off before ca

[PATCH v20 37/48] refs.c: remove lock_ref_sha1

2014-06-20 Thread Ronnie Sahlberg
lock_ref_sha1 was only called from one place in refc.c and only provided a check that the refname was sane before adding back the initial "refs/" part of the ref path name, the initial "refs/" that this caller had already stripped off before calling lock_ref_sha1. Reviewed-by: Jonathan Nieder Sig