Re: git-diff opens too many files?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 20, 2006, 15:48 UTC
- Message-ID
- <Pine.LNX.4.63.0611201646480.13772@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <fcaeb9bf0611200732y777868c5lb9d9061a4522de97@mail.gmail.com>
Hi,
On Mon, 20 Nov 2006, Nguyen Thai Ngoc Duy wrote:
> git diff |LANG=C grep '^-'|LANG=C grep -v '^--'|LANG=C sort|LANG=C uniq -c
I looked in the code, but nothing jumps into my eyes. There is a place where files are mmap()ed, but AFAICT they are unmmap()ed just after diffing. Could you run it with strace and find unclosed open calls?
Ciao, Dscho