refs.c: remove the update_ref_lock function
commitff1acf67e1d1355bb07e93ae3572e17b8cc72d39
authorRonnie Sahlberg <sahlberg@google.com>
Tue, 29 Apr 2014 19:14:47 +0000 (29 12:14 -0700)
committerJonathan Nieder <jrnieder@gmail.com>
Tue, 2 Sep 2014 20:45:03 +0000 (2 13:45 -0700)
tree1164a9fba365fd9c723f84f12fecd7e08393597e
parentb122a6c8867b06f9224e760b6a8a455c17b1c7e1
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>
refs.c