update_ref(): improve documentation
commit4b7b520b9f761704400a82285d0812fd9e50957f
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 17 Feb 2015 17:00:22 +0000 (17 18:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Feb 2015 19:25:03 +0000 (17 11:25 -0800)
treee44bdfacdd503994447d239c28003f616b0273a1
parent16180334015ab44b0310b9d896e554a66c36a1a4
update_ref(): improve documentation

Add a docstring for update_ref(), emphasizing its similarity to
ref_transaction_update(). Rename its parameters to match those of
ref_transaction_update().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h