summaryrefslogtreecommitdiffstats
path: root/config.mak.uname
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-04 17:22:40 +0200
committerJunio C Hamano <gitster@pobox.com>2013-09-04 20:08:36 +0200
commit4738a33338b837d4896b5e8d75e777f5e99a25cb (patch)
tree53cd1fc249c8e9c640c19aeb8edd0f0202152d8e /config.mak.uname
parentrefs: report ref type from lock_any_ref_for_update (diff)
downloadgit-4738a33338b837d4896b5e8d75e777f5e99a25cb.tar.xz
git-4738a33338b837d4896b5e8d75e777f5e99a25cb.zip
refs: factor update_ref steps into helpers
Factor the lock and write steps and error handling into helper functions update_ref_lock and update_ref_write to allow later use elsewhere. Expose lock_any_ref_for_update's type_p to update_ref_lock callers. While at it, drop "static" from the local "lock" variable as it is not necessary to keep across invocations. Signed-off-by: Brad King <brad.king@kitware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
0 files changed, 0 insertions, 0 deletions