From: Nguyen Thai Ngoc Duy Date: Mon, 20 Nov 2006 15:32:05 GMT Subject: Re: git-diff opens too many files? Message-ID: In-Reply-To: On 11/20/06, Johannes Schindelin wrote: > Hi, > > On Mon, 20 Nov 2006, Nguyen Thai Ngoc Duy wrote: > > > I got this error in a quite big (in files) repository: > > error: open("vnexpress.net/Suc-khoe/2001/04/3B9AF976"): Too many open > > files in system > > fatal: cannot hash vnexpress.net/Suc-khoe/2001/04/3B9AF976 > > > > The repository contained about 67.000 files and probably all were modified. > > git version 1.4.4.rc1.g2bba > > What was the command line? "git diff" really is a wrapper around different > programs... "git diff" from working directory with no argument. The real command is git diff |LANG=C grep '^-'|LANG=C grep -v '^--'|LANG=C sort|LANG=C uniq -c (I squeezed blank lines, so I wanted to check that it just did that, nothing else) > Ciao, > Dscho > > --