diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-04-30 00:45:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-03 19:04:17 +0200 |
commit | cba12021c3c932e42de838d0fc05d60b93790599 (patch) | |
tree | 51ef995b658433352875f1b575f643def56a57db /reflog-walk.c | |
parent | refs.c: remove the update_ref_write function (diff) | |
download | git-cba12021c3c932e42de838d0fc05d60b93790599.tar.xz git-cba12021c3c932e42de838d0fc05d60b93790599.zip |
refs.c: remove lock_ref_sha1
lock_ref_sha1 was only called from one place in refs.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.
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions