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 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 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 AT cygwin DOT com 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 DOT c3434a059a5b54861f54ff1f AT nifty DOT ne DOT jp> <20220220232207 DOT b7fc5f99b324b3e3be95c686 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 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 AT cygwin DOT 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: , Cc: Orgad Shaneh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- 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