Make 'git fsck' complain about non-commit branches
commit6232f62bc77ba9fc57fa97c61a7678a9f243c3bd
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Jan 2008 00:34:17 +0000 (15 16:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jan 2008 19:37:57 +0000 (16 11:37 -0800)
tree01af4e291310c15d7cb5d051722ca4455b234ba0
parent7c3fd25dcf2a23ed43bae2ba23a46edab4644a9f
Make 'git fsck' complain about non-commit branches

Since having non-commits in branches is a no-no, and just means you cannot
commit on them, let's make fsck tell you when a branch is bad.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fsck.c