On Sun, Feb 20, 2022 at 4:34 PM Takashi Yano <takashi.y...@nifty.ne.jp> 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
> > touch foo
> > /cygdrive/c/Program\ Files/Git/mingw64/bin/git add foo
> > seq 1 10000 | xargs touch
> > cd ../../../../def
> > seq 1 100000 | xargs touch
> > cd ..
> > time /cygdrive/c/Program\ Files/Git/mingw64/bin/git clean -dfx
> >
> > is used, the hang here:
> > Removing abc/def/ghi/jkl/9878
> > Removing abc/def/ghi/jkl<hangs 15sec>
> > is more than 10sec.
> >
> > It seems that removing def/ takes the time,
> > and the output stops before displying
> > Removing abc/def/ghi/jkl/9879
> > [...]
> > Removing abc/def/ghi/jkl/9999
> >
> > I guess the output is just buffered in somewhere
> > which is not flushed.
>
> The same happens in command prompt which started from 'Git CMD'
> icon. In this case, not only cygwin but also msys2 is not used.
> Therefore, this is the problem of git executable itself in
> Git-for-windows.
>
> --
> Takashi Yano <takashi.y...@nifty.ne.jp>

Thank you very much.

- Orgad

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to