Make has_commit() non-static
authorJake Goulding <goulding@vivisimo.com>
Mon, 26 Jan 2009 14:13:24 +0000 (09:13 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jan 2009 19:33:03 +0000 (11:33 -0800)
commit7fcdb36e29f9a5e779bc9e44cd69f8f69fac9426
tree0174c7c8187f04c75aa936211ca73ff44346881e
parent269defdf30a4beb48f230e36f20d00ee40348ab6
Make has_commit() non-static

Move has_commit() from branch to a common location, in preparation for
using it in "git-tag". Rename it to is_descendant_of() to make it more
unique and descriptive.

Signed-off-by: Jake Goulding <goulding@vivisimo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c
commit.c
commit.h