branch: factor out check_branch_commit()
commitf5d0e162c49320d5069a63a05960fc5a38d72423
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 18 Oct 2012 12:02:51 +0000 (18 14:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Oct 2012 21:36:16 +0000 (18 14:36 -0700)
treefc395b4c249c32cbb31b3c9f31805e385699250f
parent87a5461fa7b30f7b7baf27204f10219d61500fbf
branch: factor out check_branch_commit()

Move the code to perform checks on the tip commit of a branch
to its own function.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c