Fixed bug #7 "If commit history short all crashed"