Subject: qgit reports errors in the git repository

From: Pavel Roskin <[email-masked]>
Date: Mon, 12 Dec 2005 19:24:00 -0500

Hello!

qgit reports an error from git-cat-file when run in the git repository.
The error shown in a message box with the text:

Git says:
fatal: git-cat-file 23ea3e201cea0deea909569e08e950a9ec2345f7: bad file

I believe qgit runs "git-cat-file -t tag" on in, but it's a commit.  If
I change the git-cat-file invocation in  src/git_startup.cpp to use
"commit" instead of "tag", qgit complains about
0918385dbd9656cab0d1d81ba7453d49bbc16250.

Maybe qgit should check the type of the object first?  Or maybe there
should another type for git-cat-file that would match both tag and
commit?

-- 
Regards,
Pavel Roskin