Thread (5 messages) flat view 5 messages, 3 authors, 2016-08-11

Re: git-diff opens too many files?

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-08-11 19:21:55

On 11/20/06, Johannes Schindelin [off-list ref] wrote:
Hi,

On Mon, 20 Nov 2006, Nguyen Thai Ngoc Duy wrote:
quoted
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

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help