Convert update-ref to use ref_lock API.
commit5b16b090211f549c501f2cd9e8ea1bd227a575c5
authorShawn Pearce <spearce@spearce.org>
Wed, 17 May 2006 09:55:19 +0000 (17 05:55 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 18 May 2006 00:36:36 +0000 (17 17:36 -0700)
treefcb734220efc38c3ba3937d6dfe925162666aca3
parent4bd18c43d9a8a8fc1aa598926100f6999953ba48
Convert update-ref to use ref_lock API.

This conversion also adds the '-m' switch to update-ref allowing
the caller to record why the ref is changing.  At present this is
merely copied down into the ref_lock API.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-update-ref.txt
update-ref.c