libgit2/libgit2 — pull request #943 by csware (2012-09-20 20:34:25+00:00)
Title: git_repository_hashfile: Only close file handle if we have a valid one

Otherwise this throws an exception on MFC based systems.