From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by sourceware.org (Postfix) with ESMTPS id 9333B3858D28 for ; Sun, 20 Feb 2022 14:34:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9333B3858D28 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from Express5800-S70 (ak036016.dynamic.ppp.asahi-net.or.jp [119.150.36.16]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 21KEXueR017121; Sun, 20 Feb 2022 23:33:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 21KEXueR017121 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1645367637; bh=IJ6bHIxuGHUJ///0T3/AD9qGv6eK4DzTrPA1Ymcayig=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jmY+g+L2jkpUSmsLZ8Uu5cfYa3ku3WFCm+5aQR+BRmaP/rT1CrBe6SD8KuQti7c4m KzfOcsxbgjAZy2nw1SztAztNiNpvA4tmbYMC36hcdOldG0X27Gm7j1+2/puGNj6sn/ cyanhdoQ/XRmFQdTTDQakQjvEm0MffQBVrIpSZoOdwwCmYtUEmcx8pzx/q8i3BRwhw yOmaoIorvuqjbiBcUB6efrVwgRZdWD0/KTTEUiWzyOax2fXao1KasSfEmWNUKLX0A3 yfJc+4myx9+LBnCyujwjTeYiseabG86Zbz1CMpmOxV64cqaxzKLruq7RtE9ESMNlIy bFHOWNzfme0vg== X-Nifty-SrcIP: [119.150.36.16] Date: Sun, 20 Feb 2022 23:34:00 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Orgad Shaneh Subject: Re: Console output hangs in the middle of a line Message-Id: <20220220233400.4ddfa98ec32f831fad8b78c2@nifty.ne.jp> In-Reply-To: <20220220232207.b7fc5f99b324b3e3be95c686@nifty.ne.jp> References: <20220220223751.c3434a059a5b54861f54ff1f@nifty.ne.jp> <20220220232207.b7fc5f99b324b3e3be95c686@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2022 14:34:23 -0000 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 > 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