Re: git-log fatal error in empty repo
- From
- Geert Bosch <bosch@adacore.com>
- Date
- Jun 9, 2007, 02:31 UTC
- Message-ID
- <9EDDBC9D-EE20-4158-AF77-E46B1DD0BC74@adacore.com>
- In-Reply-To
- <7vps47o6eh.fsf@assigned-by-dhcp.cox.net>
On Jun 7, 2007, at 16:29, Junio C Hamano wrote:
> Maybe, but I highly doubt if it is worth to bother about it.
My first confusion with git was exactly this issue. It's very normal for a new user to do a git init and than try to verify that the current state is a sane empty repository.
So, git log, git status and git fsck should all properly handle this situation and give reasonable output in this case.
-Geert