Re: Console output hangs in the middle of a line

2022-02-20 Thread Orgad Shaneh
On Sun, Feb 20, 2022 at 4:34 PM Takashi Yano wrote: > > On Sun, 20 Feb 2022 23:22:07 +0900 > Takashi Yano wrote: > > If the script > > > > #!/bin/sh > > mkdir -p chunked > > cd chunked > > /cygdrive/c/Program\ Files/Git/mingw64/bin/git init > > mkdir -p abc/def/ghi/jkl def > > cd abc/def/ghi/jkl >

Re: Console output hangs in the middle of a line

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 23:22:07 +0900 Takashi Yano wrote: > If the script > > #!/bin/sh > mkdir -p chunked > cd chunked > /cygdrive/c/Program\ Files/Git/mingw64/bin/git init > mkdir -p abc/def/ghi/jkl def > cd abc/def/ghi/jkl > touch foo > /cygdrive/c/Program\ Files/Git/mingw64/bin/git add foo > seq

Re: Console output hangs in the middle of a line

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 15:51:11 +0200 Orgad Shaneh wrote: > Turns out I was using Git for Windows and not the cygwin release. I have tested using Git-for-windows (git version 2.34.1.vfs.0.0). With seq 1 1000 | xargs touch real0m1.812s user0m0.015s sys 0m0.031s With seq 1 1 | xargs

Re: Console output hangs in the middle of a line

2022-02-20 Thread Orgad Shaneh
Hi, On Sun, Feb 20, 2022 at 3:38 PM Takashi Yano wrote: > > On Sun, 20 Feb 2022 13:43:33 +0200 > Orgad Shaneh wrote: > > mkdir -p chunked > > cd chunked > > git init > > mkdir -p abc/def/ghi/jkl def > > cd abc/def/ghi/jkl > > touch foo > > git add foo > > seq 1 1000 | xargs touch > > cd ../../..

Re: Console output hangs in the middle of a line

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 22:37:51 +0900 Takashi Yano wrote: > real0m3.307s > user0m0.296s > sys 0m2.983s Changing the line: seq 1 1000 | xargs touch to seq 1 1 | xargs touch results in: real0m7.844s user0m0.921s sys 0m6.500s No hang occurs as well. -- Takashi Yano --

Re: Console output hangs in the middle of a line

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 22:37:51 +0900 Takashi Yano wrote: > $ uname -a > CYGWIN_NT-10.0 Express5800-S70 3.3.4(0.341/5/3) 2022-01-31 19:35 x86_64 Cygwin > $ git --version > git version 2.35.1 Windoes Terminal version is: 1.11.3471.0 -- Takashi Yano -- Problem reports: https://cygwin.com/prob

Re: Console output hangs in the middle of a line

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 13:43:33 +0200 Orgad Shaneh wrote: > mkdir -p chunked > cd chunked > git init > mkdir -p abc/def/ghi/jkl def > cd abc/def/ghi/jkl > touch foo > git add foo > seq 1 1000 | xargs touch > cd ../../../../def > seq 1 1 | xargs touch > cd .. > git clean -dfx Thanks for the test

Re: Console output hangs in the middle of a line

2022-02-20 Thread Orgad Shaneh
Hi and thanks for replying. On Wed, 16 Feb 2022 12:01:07 +0200 Takashi Yano wrote: > On Wed, 16 Feb 2022 18:59:05 +0900 > Takashi Yano wrote: > > On Wed, 16 Feb 2022 11:49:36 +0200 > > Orgad Shaneh wrote: > > > I'm using cygwin runtime 3.3.4-2. CYGWIN env variable is empty. > > > Running in Window

Re: Console output hangs in the middle of a line

2022-02-16 Thread Takashi Yano
On Wed, 16 Feb 2022 18:59:05 +0900 Takashi Yano wrote: > On Wed, 16 Feb 2022 11:49:36 +0200 > Orgad Shaneh wrote: > > I'm using cygwin runtime 3.3.4-2. CYGWIN env variable is empty. > > Running in Windows Terminal. > > > > When I run git clean -dfx on a Node.JS project, which has huge > > node_mod

Re: Console output hangs in the middle of a line

2022-02-16 Thread Takashi Yano
On Wed, 16 Feb 2022 11:49:36 +0200 Orgad Shaneh wrote: > I'm using cygwin runtime 3.3.4-2. CYGWIN env variable is empty. > Running in Windows Terminal. > > When I run git clean -dfx on a Node.JS project, which has huge > node_modules directories, that produces a lot of output in high rate, > the c