refs: report ref type from lock_any_ref_for_update
commit9bbb0fa1fdc6c413b1f35c26e090515e5d0096aa
authorBrad King <brad.king@kitware.com>
Fri, 30 Aug 2013 18:12:00 +0000 (30 14:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Aug 2013 21:57:28 +0000 (30 14:57 -0700)
tree45d0c317ec200f7c9e61e5a7dff1fda5a88aba42
parent2be778a8ac557931c270fb09fa6b4b3c4ec0729c
refs: report ref type from lock_any_ref_for_update

Expose lock_ref_sha1_basic's type_p argument to callers of
lock_any_ref_for_update.  Update all call sites to ignore it by passing
NULL for now.

Signed-off-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c
builtin/commit.c
builtin/fetch.c
builtin/receive-pack.c
builtin/reflog.c
builtin/replace.c
builtin/tag.c
fast-import.c
refs.c
refs.h
sequencer.c