Re: git-commit fatal: Out of memory? mmap failed: Bad file descriptor
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Jan 15, 2008, 20:27 UTC
- Message-ID
- <478D1741.8040807@nrlssc.navy.mil>
- In-Reply-To
- <1200427202.5821.7.camel@gaara.boston.redhat.com>
Kristian Høgsberg wrote:
> There's four close(fd) calls in prepare_index() and they're all > incorrect. The open fd's are cleaned up in rollback_index_files() and > shouldn't be closed manually. The patch below gets rid of the extra > close() calls and should fix the problem.
It does. Thanks.
-brandon