refs.c: add a public is_branch function
authorRonnie Sahlberg <redacted>
Tue, 15 Jul 2014 23:02:38 +0000 (16:02 -0700)
committerJunio C Hamano <redacted>
Wed, 16 Jul 2014 20:06:41 +0000 (13:06 -0700)
commite7e0f26eb64de205acaac63da89f47aab78ba229
tree2f31e5198ae6e3b1d6a13f093ba8fe314b359114
parentebc5da3208824e25a89672a3b91bd13629b215fe
refs.c: add a public is_branch function

Both refs.c and fsck.c have their own private copies of the is_branch function.
Delete the is_branch function from fsck.c and make the version in refs.c
public.

Signed-off-by: Ronnie Sahlberg <redacted>
Reviewed-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fsck.c
refs.c
refs.h
git clone https://git.99rst.org/PROJECT