delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/20/09:42:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 453B53858D39
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=SWWms949OhwCh1npAT6Lqx1UqzIUBMa7fBksPgpZbWw=;
b=oNIdD7OkZQYG7AWyWR+ioXnm4n65itexYJdTKbXwTBTRWtIoZv/bTWNpjuyM0kJaut
HF8jJDeQ3UDw1XsLwt286Bm7gfZfrIHVMSX4wqaKGeXdCKyhY9Tdtucr4dV08IFBOgAG
rMsAxVpQ9hvOFCD/J63fmJfqJSvdUuoaVVTXtJan3rg7U2uKyh9Y9n1eaVIlZft7WSxR
8Ki6fEtjvYsKQIgF3ylY22ISOACh3DVbDUKXpo7bx2Z8UlWsddYrE5nacgs0sOAA6SzR
PfXhT9S8bg6jc/PSIOoeS6cCbjvDzNUjVQ36JZ8KBTvTB6OuAE5E023zK5y8P8lFrT+g
rd7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=SWWms949OhwCh1npAT6Lqx1UqzIUBMa7fBksPgpZbWw=;
b=rrnxwIxErOFtqfW16i/r0NrjvBWtGCFJa6+ekqEludXGWB6OoCCmaMZ7Kl3wyCaEq0
dMesAvweU7DSa1wZ/mfELNp3YhHeN9hkitHB65/uOE49O0bzHlN+ywGlW4A1ilYwdG55
p2tKUx5UwBxke/v34DWw3tASkT06Vuik3umODSjkLQ9sn1GEdRnv2TFaKZ/3q7QzEkdj
gEi1VvSC6KDOPIpLgfGd/1kqzYFf6EWRLXUmH6aUUu3jH1yklJ1hL+PgJ0HXWOGDy8ix
0CP8pL7eA7Y7C92hm40BAieYN7pUtZGzd+39ynAp8Z+GVVRjqzeeIZPCyxFTm+e0X9/z
QSRA==
X-Gm-Message-State: AOAM531hqtnyEAgtm0v4gNYIYP3GaWttVbzwUAkpPCWXPUyQSxClCqzE
tL9b0VUghNc2WS5RLbc3EIgDTyC92BZvik0CxVoCjzsfC+c=
X-Google-Smtp-Source: ABdhPJz1NSJV0fYHnwsFNZ2xIhUH6fjwufwSlDzAc0OVOpRHRm2mmSpkMkJNCkVrJD5QiGY4bxyLy12oG2JbgSSngyk=
X-Received: by 2002:a5e:8401:0:b0:640:a7d7:bded with SMTP id
h1-20020a5e8401000000b00640a7d7bdedmr5592722ioj.104.1645368140699; Sun, 20
Feb 2022 06:42:20 -0800 (PST)
MIME-Version: 1.0
References: <CAGHpTBJ1JHS5=3WBNjkRP3f8i2gqQPRU7Kv6jj9gTj1Nc3BrcQ AT mail DOT gmail DOT com>
<CAGHpTBKXJ0kPugus36m0Mg55y=Ephd7KJNWV-xgyzNxEdAP6zg AT mail DOT gmail DOT com>
<20220220223751 DOT c3434a059a5b54861f54ff1f AT nifty DOT ne DOT jp>
<CAGHpTB+firxVjPVjHx9UJ6G4n+fKCXx+z4yt7yqR91WxAGTPgw AT mail DOT gmail DOT com>
<20220220232207 DOT b7fc5f99b324b3e3be95c686 AT nifty DOT ne DOT jp>
<20220220233400 DOT 4ddfa98ec32f831fad8b78c2 AT nifty DOT ne DOT jp>
In-Reply-To: <20220220233400.4ddfa98ec32f831fad8b78c2@nifty.ne.jp>
From: Orgad Shaneh <orgads AT gmail DOT com>
Date: Sun, 20 Feb 2022 16:42:09 +0200
Message-ID: <CAGHpTBLRy+DtX3bzTofv1mOhqCw_Qvg3Oo7xa2m2HQwcgBBe2w@mail.gmail.com>
Subject: Re: Console output hangs in the middle of a line
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Sun, Feb 20, 2022 at 4:34 PM Takashi Yano <takashi DOT yano AT nifty DOT ne DOT 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 DOT yano AT nifty DOT ne DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019