Function for updating refs.
commit3d9f037c60ceae1bd60ee3c861564812a89b05b1
authorCarlos Rica <jasampler@gmail.com>
Wed, 5 Sep 2007 01:38:24 +0000 (5 03:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Sep 2007 18:29:33 +0000 (5 11:29 -0700)
tree6bf932b630728e2313ffacd8ef573eb63fdc383e
parent1e61b7640d09015213dbcae3564fa27ac6a8c151
Function for updating refs.

A function intended to be called from builtins updating refs
by locking them before write, specially those that came from
scripts using "git update-ref".

[jc: with minor fixups]

Signed-off-by: Carlos Rica <jasampler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch--tool.c
builtin-update-ref.c
refs.c
refs.h
send-pack.c