]> git.proxmox.com Git - libgit2.git/commit
git_repository_hashfile: Only close file handle if we have a valid one
authorSven Strickroth <email@cs-ware.de>
Thu, 20 Sep 2012 20:32:19 +0000 (22:32 +0200)
committerSven Strickroth <email@cs-ware.de>
Thu, 20 Sep 2012 20:32:19 +0000 (22:32 +0200)
commitb1127a30c771cb37673cb82506b3fd647b5f03ae
tree34e5f624540207f57815baf7b150a44918fccb62
parent411cb017c21e0490ed1c6438c7d5fa1b4ee9f63f
git_repository_hashfile: Only close file handle if we have a valid one

Otherwise this throws an exception on MFC based systems.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/repository.c