From: Brandon Casey Date: Mon, 14 Jan 2008 23:22:46 GMT Subject: Re: git-commit fatal: Out of memory? mmap failed: Bad file descriptor Message-ID: In-Reply-To: <20080112201622.GA2992@steel.home> On Sat, 12 Jan 2008, Alex Riesen wrote: > Brandon Casey, Fri, Jan 11, 2008 23:47:17 +0100: >> >> It's reproduceable for me by amending the commit. >> >> Any suggestions? > > strace -o log -f git commit -C HEAD --amend > > and post the "log" here (assuming it failed) It does not fail when -C HEAD is used. Specifically I did... Modify Makefile.in (random file). git commit -a --amend <:wq when vi opens, i.e. save without making changes> Modify Makefile.in git commit -a -C HEAD --amend Modify Makefile.in git commit -a --amend <:wq save without making change> -brandon