libgit-thin: git_repo_blob_read() minor refactoring
commit7cba5e71a77b2960fd675f526e7341cc08c3c32a
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tue, 10 Jul 2007 18:07:12 +0000 (10 15:07 -0300)
committerLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tue, 10 Jul 2007 18:07:12 +0000 (10 15:07 -0300)
tree21d3d80e5c363db49855d37e97132fcd9531670c
parent971e3f7c3d3c332f5c51d1a74644db173dec6aa9
libgit-thin: git_repo_blob_read() minor refactoring

Do not use sha1_object_info(), check object type with read_sha1_file()
instead.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
libgit-thin/ltrepo.c