Re: git-diff opens too many files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/20/06, Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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




--
Duy
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]