refs.c: remove the update_ref_lock function
authorRonnie Sahlberg <sahlberg@google.com>
Tue, 29 Apr 2014 19:14:47 +0000 (12:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Sep 2014 17:04:16 +0000 (10:04 -0700)
commit45421e24e8322184a35a32a9072f04afabe33880
tree1164a9fba365fd9c723f84f12fecd7e08393597e
parent88b680ae8d7a8f88409eff0c4cd2f12acf07155f
refs.c: remove the update_ref_lock function

Since we now only call update_ref_lock with onerr==QUIET_ON_ERR we no longer
need this function and can replace it with just calling lock_any_ref_for_update
directly.

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>
refs.c